Lines Matching refs:AuthScope
242 AuthScope anonymous_max_scope) { in CreateInfoAuthSection()
296 AuthScope GetAnonymousMaxScope(const CloudDelegate& cloud, in GetAnonymousMaxScope()
299 return AuthScope::kNone; in GetAnonymousMaxScope()
384 AddHandler("/privet/info", &PrivetHandler::HandleInfo, AuthScope::kNone); in PrivetHandler()
386 AuthScope::kNone); in PrivetHandler()
388 AuthScope::kNone); in PrivetHandler()
390 AuthScope::kNone); in PrivetHandler()
393 AuthScope::kNone); in PrivetHandler()
395 &PrivetHandler::HandleAccessControlClaim, AuthScope::kOwner); in PrivetHandler()
398 AuthScope::kOwner); in PrivetHandler()
400 AuthScope::kManager); in PrivetHandler()
402 AuthScope::kManager); in PrivetHandler()
404 AuthScope::kViewer); in PrivetHandler()
406 AuthScope::kViewer); in PrivetHandler()
408 &PrivetHandler::HandleCommandsExecute, AuthScope::kViewer); in PrivetHandler()
410 &PrivetHandler::HandleCommandsStatus, AuthScope::kViewer); in PrivetHandler()
412 &PrivetHandler::HandleCommandsCancel, AuthScope::kViewer); in PrivetHandler()
414 &PrivetHandler::HandleCommandsList, AuthScope::kViewer); in PrivetHandler()
416 &PrivetHandler::HandleCheckForUpdates, AuthScope::kViewer); in PrivetHandler()
418 AuthScope::kViewer); in PrivetHandler()
420 AuthScope::kViewer); in PrivetHandler()
508 AuthScope scope) { in AddHandler()
518 AuthScope scope) { in AddSecureHandler()
665 AuthScope desired_scope = AuthScope::kOwner; in HandleAuth()
666 AuthScope acceptable_scope = AuthScope::kViewer; in HandleAuth()
688 AuthScope access_token_scope = AuthScope::kNone; in HandleAuth()
782 if (user_info.scope() < AuthScope::kOwner) { in HandleSetupStart()