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 Summary
Modifier and TypeFieldDescriptionstatic final UserAuthenticationMode
Static value Anonymous for UserAuthenticationMode.static final UserAuthenticationMode
Static value Certificate for UserAuthenticationMode.static final UserAuthenticationMode
Static value UsernamePassword for UserAuthenticationMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserAuthenticationMode
fromString
(String name) Creates or finds a UserAuthenticationMode from its string representation.static Collection<UserAuthenticationMode>
values()
Gets known UserAuthenticationMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ANONYMOUS
Static value Anonymous for UserAuthenticationMode. -
CERTIFICATE
Static value Certificate for UserAuthenticationMode. -
USERNAME_PASSWORD
Static value UsernamePassword for UserAuthenticationMode.
-
-
Constructor Details
-
UserAuthenticationMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of UserAuthenticationMode value.
-
-
Method Details
-
fromString
Creates or finds a UserAuthenticationMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding UserAuthenticationMode.
-
values
Gets known UserAuthenticationMode values.- Returns:
- known UserAuthenticationMode values.
-
fromString(String)
factory method.