AuthenticationMode Class

public final class AuthenticationMode
extends ExpandableStringEnum<AuthenticationMode>

Authentication Mode. Valid modes are `ConnectionString`, `Msi` and 'UserToken'.

Field Summary

Modifier and Type Field and Description
static final AuthenticationMode CONNECTION_STRING

Static value ConnectionString for AuthenticationMode.

static final AuthenticationMode MSI

Static value Msi for AuthenticationMode.

static final AuthenticationMode USER_TOKEN

Static value UserToken for AuthenticationMode.

Constructor Summary

Constructor Description
AuthenticationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationMode value.

Method Summary

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

Creates or finds a AuthenticationMode from its string representation.

static Collection<AuthenticationMode> values()

Gets known AuthenticationMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTION_STRING

public static final AuthenticationMode CONNECTION_STRING

Static value ConnectionString for AuthenticationMode.

MSI

public static final AuthenticationMode MSI

Static value Msi for AuthenticationMode.

USER_TOKEN

public static final AuthenticationMode USER_TOKEN

Static value UserToken for AuthenticationMode.

Constructor Details

AuthenticationMode

@Deprecated
public AuthenticationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationMode value.

Method Details

fromString

public static AuthenticationMode fromString(String name)

Creates or finds a AuthenticationMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AuthenticationMode.

values

public static Collection<AuthenticationMode> values()

Gets known AuthenticationMode values.

Returns:

known AuthenticationMode values.

Applies to