Class UserAuthenticationMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UserAuthenticationMode>
com.azure.resourcemanager.deviceregistry.models.UserAuthenticationMode

public final class UserAuthenticationMode extends com.azure.core.util.ExpandableStringEnum<UserAuthenticationMode>
The mode to authenticate the user of the client at the server.
  • Field Details

    • ANONYMOUS

      public static final UserAuthenticationMode ANONYMOUS
      Static value Anonymous for UserAuthenticationMode.
    • CERTIFICATE

      public static final UserAuthenticationMode CERTIFICATE
      Static value Certificate for UserAuthenticationMode.
    • USERNAME_PASSWORD

      public static final UserAuthenticationMode USERNAME_PASSWORD
      Static value UsernamePassword for UserAuthenticationMode.
  • Constructor Details

    • UserAuthenticationMode

      @Deprecated public UserAuthenticationMode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UserAuthenticationMode value.
  • Method Details

    • fromString

      public static UserAuthenticationMode fromString(String name)
      Creates or finds a UserAuthenticationMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UserAuthenticationMode.
    • values

      public static Collection<UserAuthenticationMode> values()
      Gets known UserAuthenticationMode values.
      Returns:
      known UserAuthenticationMode values.