public enum AuthenticationMode extends Enum<AuthenticationMode>
| Enum Constant and Description |
|---|
AAD
The authentication mode using Azure Active Directory.
|
SHARED_KEY
The authentication mode using shared keys.
|
TASK_AUTHENTICATION_TOKEN
The authentication mode using task authentication tokens.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationMode |
fromString(String value)
Parses a serialized value to a AuthenticationMode instance.
|
String |
toString() |
static AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMode SHARED_KEY
public static final AuthenticationMode AAD
public static final AuthenticationMode TASK_AUTHENTICATION_TOKEN
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AuthenticationMode fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AuthenticationMode>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/