OriginAuthenticationTokenDestinationHeader Class

public final class OriginAuthenticationTokenDestinationHeader
extends ExpandableStringEnum<OriginAuthenticationTokenDestinationHeader>

The HTTP request header where the origin authentication token is placed when forwarding the request to the origin.

Field Summary

Modifier and Type Field and Description
static final OriginAuthenticationTokenDestinationHeader AUTHORIZATION

Place the token in the standard `Authorization` request header (default behavior).

static final OriginAuthenticationTokenDestinationHeader XAZURE_AUTHORIZATION

Place the token in the `X-Azure-Authorization` request header to avoid conflicts with an existing `Authorization` header set by the client.

Constructor Summary

Constructor Description
OriginAuthenticationTokenDestinationHeader()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OriginAuthenticationTokenDestinationHeader value.

Method Summary

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

Creates or finds a OriginAuthenticationTokenDestinationHeader from its string representation.

static Collection<OriginAuthenticationTokenDestinationHeader> values()

Gets known OriginAuthenticationTokenDestinationHeader values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTHORIZATION

public static final OriginAuthenticationTokenDestinationHeader AUTHORIZATION

Place the token in the standard `Authorization` request header (default behavior).

XAZURE_AUTHORIZATION

public static final OriginAuthenticationTokenDestinationHeader XAZURE_AUTHORIZATION

Place the token in the `X-Azure-Authorization` request header to avoid conflicts with an existing `Authorization` header set by the client.

Constructor Details

OriginAuthenticationTokenDestinationHeader

@Deprecated
public OriginAuthenticationTokenDestinationHeader()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OriginAuthenticationTokenDestinationHeader value.

Method Details

fromString

public static OriginAuthenticationTokenDestinationHeader fromString(String name)

Creates or finds a OriginAuthenticationTokenDestinationHeader from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OriginAuthenticationTokenDestinationHeader.

values

public static Collection<OriginAuthenticationTokenDestinationHeader> values()

Gets known OriginAuthenticationTokenDestinationHeader values.

Returns:

known OriginAuthenticationTokenDestinationHeader values.

Applies to