AuthenticationMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. deviceregistry. models. AuthenticationMethod
- com.
- com.
public final class AuthenticationMethod
extends ExpandableStringEnum<AuthenticationMethod>
The method to authenticate the user of the client at the server.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Authentication |
ANONYMOUS
The user authentication method is anonymous. |
|
static final
Authentication |
CERTIFICATE
The user authentication method is an x509 certificate. |
|
static final
Authentication |
USERNAME_PASSWORD
The user authentication method is a username and password. |
Constructor Summary
| Constructor | Description |
|---|---|
| AuthenticationMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Authentication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Authentication |
fromString(String name)
Creates or finds a Authentication |
|
static
Collection<Authentication |
values()
Gets known Authentication |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ANONYMOUS
public static final AuthenticationMethod ANONYMOUS
The user authentication method is anonymous.
CERTIFICATE
public static final AuthenticationMethod CERTIFICATE
The user authentication method is an x509 certificate.
USERNAME_PASSWORD
public static final AuthenticationMethod USERNAME_PASSWORD
The user authentication method is a username and password.
Constructor Details
AuthenticationMethod
@Deprecated
public AuthenticationMethod()
Deprecated
Creates a new instance of AuthenticationMethod value.
Method Details
fromString
public static AuthenticationMethod fromString(String name)
Creates or finds a AuthenticationMethod from its string representation.
Parameters:
Returns:
values
public static Collection<AuthenticationMethod> values()
Gets known AuthenticationMethod values.
Returns: