Searched defs:desired_scope (Results 1 - 2 of 2) sorted by relevance

/external/libweave/src/privet/
H A Dsecurity_manager.cc90 AuthScope desired_scope,
96 desired_scope,
117 AuthScope desired_scope,
131 return CreateAccessTokenImpl(auth_type, desired_scope, access_token,
140 return CreateAccessTokenImpl(auth_type, desired_scope, access_token,
158 AuthScope desired_scope,
172 if (!CreateAccessTokenImpl(auth_type, auth_decoded, desired_scope,
89 CreateAccessTokenImpl(AuthType auth_type, AuthScope desired_scope, std::vector<uint8_t>* access_token, AuthScope* access_token_scope, base::TimeDelta* access_token_ttl) argument
114 CreateAccessTokenImpl( AuthType auth_type, const std::vector<uint8_t>& auth_code, AuthScope desired_scope, std::vector<uint8_t>* access_token, AuthScope* access_token_scope, base::TimeDelta* access_token_ttl, ErrorPtr* error) argument
156 CreateAccessToken(AuthType auth_type, const std::string& auth_code, AuthScope desired_scope, std::string* access_token, AuthScope* access_token_scope, base::TimeDelta* access_token_ttl, ErrorPtr* error) argument
H A Dprivet_handler.cc665 AuthScope desired_scope = AuthScope::kOwner; local
671 if (!StringToEnum(requested_scope, &desired_scope)) {
677 acceptable_scope = std::max(desired_scope, acceptable_scope);
681 desired_scope = GetAnonymousMaxScope(*cloud_, wifi_);
689 if (!security_->CreateAccessToken(auth_type, auth_code, desired_scope,

Completed in 1067 milliseconds