Home | History | Annotate | Download | only in privet

Lines Matching refs:AuthScope

245 UwMacaroonCaveatScopeType ToMacaroonScope(AuthScope scope) {
247 case AuthScope::kViewer:
249 case AuthScope::kUser:
251 case AuthScope::kManager:
253 case AuthScope::kOwner:
261 AuthScope FromMacaroonScope(uint32_t scope) {
263 return AuthScope::kOwner;
265 return AuthScope::kManager;
267 return AuthScope::kUser;
269 return AuthScope::kViewer;
270 return AuthScope::kNone;
358 AuthScope auth_scope{FromMacaroonScope(result.granted_scope)};
359 if (auth_scope == AuthScope::kNone) {
465 AuthScope* access_token_scope,
478 AuthScope auth_scope{FromMacaroonScope(result.granted_scope)};
479 if (auth_scope == AuthScope::kNone) {