Home
last modified time | relevance | path

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

/external/libweave/src/privet/
Dauth_manager.cc302 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()
Dauth_manager.h45 const std::vector<uint8_t>& GetAuthSecret() const { return auth_secret_; } in GetAuthSecret()
87 std::vector<uint8_t> auth_secret_; // Persistent. variable