AuthenticationMethod Class

public final class AuthenticationMethod
extends ExpandableStringEnum<AuthenticationMethod>

The mode of client authentication.

Field Summary

Modifier and Type Field and Description
static final AuthenticationMethod AAD

Static value AAD for AuthenticationMethod.

static final AuthenticationMethod TOKEN

Static value Token for AuthenticationMethod.

Constructor Summary

Constructor Description
AuthenticationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationMethod value.

Method Summary

Modifier and Type Method and Description
static AuthenticationMethod fromString(String name)

Creates or finds a AuthenticationMethod from its string representation.

static Collection<AuthenticationMethod> values()

Gets known AuthenticationMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AAD

public static final AuthenticationMethod AAD

Static value AAD for AuthenticationMethod.

TOKEN

public static final AuthenticationMethod TOKEN

Static value Token for AuthenticationMethod.

Constructor Details

AuthenticationMethod

@Deprecated
public AuthenticationMethod()

Deprecated

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding AuthenticationMethod.

values

public static Collection<AuthenticationMethod> values()

Gets known AuthenticationMethod values.

Returns:

known AuthenticationMethod values.

Applies to