Aracılığıyla paylaş


AuthenticationType Class

public final class AuthenticationType
extends ExpandableStringEnum<AuthenticationType>

Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified.

Field Summary

Modifier and Type Field and Description
static final AuthenticationType IDENTITY_BASED

Static value IdentityBased for AuthenticationType.

static final AuthenticationType KEY_BASED

Static value KeyBased for AuthenticationType.

Constructor Summary

Constructor Description
AuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationType value.

Method Summary

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

Creates or finds a AuthenticationType from its string representation.

static Collection<AuthenticationType> values()

Gets known AuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IDENTITY_BASED

public static final AuthenticationType IDENTITY_BASED

Static value IdentityBased for AuthenticationType.

KEY_BASED

public static final AuthenticationType KEY_BASED

Static value KeyBased for AuthenticationType.

Constructor Details

AuthenticationType

@Deprecated
public AuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationType value.

Method Details

fromString

public static AuthenticationType fromString(String name)

Creates or finds a AuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AuthenticationType.

values

public static Collection<AuthenticationType> values()

Gets known AuthenticationType values.

Returns:

known AuthenticationType values.

Applies to