Home
last modified time | relevance | path

Searched refs:auth_scope (Results 1 – 2 of 2) sorted by relevance

/external/libweave/src/
Dbase_api_handler.cc143 AuthScope auth_scope{AuthScope::kNone}; in UpdateBaseConfiguration() local
144 if (!StringToEnum(anonymous_access_role, &auth_scope)) { in UpdateBaseConfiguration()
153 device_info_->UpdateBaseConfig(auth_scope, discovery_enabled, in UpdateBaseConfiguration()
/external/libweave/src/privet/
Dauth_manager.cc358 AuthScope auth_scope{FromMacaroonScope(result.granted_scope)}; in ParseAccessToken() local
359 if (auth_scope == AuthScope::kNone) { in ParseAccessToken()
382 *user_info = UserInfo{auth_scope, UserAppId{type, user_id, app_id}}; in ParseAccessToken()
478 AuthScope auth_scope{FromMacaroonScope(result.granted_scope)}; in CreateAccessTokenFromAuth() local
479 if (auth_scope == AuthScope::kNone) { in CreateAccessTokenFromAuth()
522 UserInfo info{auth_scope, {AuthType::kLocal, user_id, app_id}}; in CreateAccessTokenFromAuth()