Lines Matching defs:AuthenticationMethod
16 AuthenticationMethod AuthenticationMethod::Invalid() {
17 return AuthenticationMethod();
21 AuthenticationMethod AuthenticationMethod::Spake2(HashFunction hash_function) {
22 return AuthenticationMethod(SPAKE2, hash_function);
26 AuthenticationMethod AuthenticationMethod::Spake2Pair() {
27 return AuthenticationMethod(SPAKE2_PAIR, HMAC_SHA256);
31 AuthenticationMethod AuthenticationMethod::ThirdParty() {
32 return AuthenticationMethod(THIRD_PARTY, NONE);
36 AuthenticationMethod AuthenticationMethod::FromString(
47 return AuthenticationMethod::Invalid();
52 std::string AuthenticationMethod::ApplyHashFunction(
80 AuthenticationMethod::AuthenticationMethod()
85 AuthenticationMethod::AuthenticationMethod(MethodType type,
92 AuthenticationMethod::HashFunction AuthenticationMethod::hash_function() const {
97 const std::string AuthenticationMethod::ToString() const {
124 bool AuthenticationMethod::operator ==(
125 const AuthenticationMethod& other) const {
137 hash_function = AuthenticationMethod::NONE;
139 hash_function = AuthenticationMethod::HMAC_SHA256;