Lines Matching refs:security_
375 security_(security), in PrivetHandler()
380 CHECK(security_); in PrivetHandler()
493 if (!security_->ParseAccessToken(token, &user_info, &error)) in HandleRequest()
555 CreateInfoAuthSection(*security_, GetAnonymousMaxScope(*cloud_, wifi_)) in HandleInfo()
566 output.SetString(kInfoSessionIdKey, security_->CreateSessionId()); in HandleInfo()
583 std::set<PairingType> modes = security_->GetPairingTypes(); in HandlePairingStart()
593 std::set<CryptoType> cryptos = security_->GetCryptoTypes(); in HandlePairingStart()
604 if (!security_->StartPairing(pairing, crypto, &id, &commitment, &error)) in HandlePairingStart()
625 if (!security_->ConfirmPairing(id, commitment, &fingerprint, &signature, in HandlePairingConfirm()
643 if (!security_->CancelPairing(id, &error)) in HandlePairingCancel()
689 if (!security_->CreateAccessToken(auth_type, auth_code, desired_scope, in HandleAuth()
715 auto token = security_->ClaimRootClientAuthToken(&error); in HandleAccessControlClaim()
738 if (!security_->ConfirmClientAuthToken(token, &error)) in HandleAccessControlConfirm()