Searched refs:auth_secret_ (Results 1 – 2 of 2) sorted by relevance
/external/libweave/src/privet/ |
D | auth_manager.cc | 302 auth_secret_ = secret; in SetAuthSecret() 304 if (auth_secret_.size() != kSha256OutputSize) { in SetAuthSecret() 305 auth_secret_ = CreateSecret(); in SetAuthSecret() 309 if (!config_ || (config_->GetSettings().secret == auth_secret_ && in SetAuthSecret() 438 auth_secret_, now, in GetRootClientAuthToken() 454 !VerifyMacaroon(auth_secret_, macaroon, Now(), &result, error)) { in IsValidAuthToken() 473 !VerifyMacaroon(auth_secret_, macaroon, now, &result, error)) { in CreateAccessTokenFromAuth()
|
D | auth_manager.h | 45 const std::vector<uint8_t>& GetAuthSecret() const { return auth_secret_; } in GetAuthSecret() 87 std::vector<uint8_t> auth_secret_; // Persistent. variable
|