All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.generated.models.AuthenticationMethodModes Maven / Gradle / Ivy

There is a newer version: 6.20.0
Show newest version
package com.microsoft.graph.models;

import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;

@jakarta.annotation.Generated("com.microsoft.kiota")
public enum AuthenticationMethodModes implements ValuedEnum {
    Password("password"),
    Voice("voice"),
    HardwareOath("hardwareOath"),
    SoftwareOath("softwareOath"),
    Sms("sms"),
    Fido2("fido2"),
    WindowsHelloForBusiness("windowsHelloForBusiness"),
    MicrosoftAuthenticatorPush("microsoftAuthenticatorPush"),
    DeviceBasedPush("deviceBasedPush"),
    TemporaryAccessPassOneTime("temporaryAccessPassOneTime"),
    TemporaryAccessPassMultiUse("temporaryAccessPassMultiUse"),
    Email("email"),
    X509CertificateSingleFactor("x509CertificateSingleFactor"),
    X509CertificateMultiFactor("x509CertificateMultiFactor"),
    FederatedSingleFactor("federatedSingleFactor"),
    FederatedMultiFactor("federatedMultiFactor"),
    UnknownFutureValue("unknownFutureValue");
    public final String value;
    AuthenticationMethodModes(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static AuthenticationMethodModes forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "password": return Password;
            case "voice": return Voice;
            case "hardwareOath": return HardwareOath;
            case "softwareOath": return SoftwareOath;
            case "sms": return Sms;
            case "fido2": return Fido2;
            case "windowsHelloForBusiness": return WindowsHelloForBusiness;
            case "microsoftAuthenticatorPush": return MicrosoftAuthenticatorPush;
            case "deviceBasedPush": return DeviceBasedPush;
            case "temporaryAccessPassOneTime": return TemporaryAccessPassOneTime;
            case "temporaryAccessPassMultiUse": return TemporaryAccessPassMultiUse;
            case "email": return Email;
            case "x509CertificateSingleFactor": return X509CertificateSingleFactor;
            case "x509CertificateMultiFactor": return X509CertificateMultiFactor;
            case "federatedSingleFactor": return FederatedSingleFactor;
            case "federatedMultiFactor": return FederatedMultiFactor;
            case "unknownFutureValue": return UnknownFutureValue;
            default: return null;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy