OriginAuthenticationTokenDestinationHeader Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. OriginAuthenticationTokenDestinationHeader
- com.
- com.
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
Origin |
AUTHORIZATION
Place the token in the standard `Authorization` request header (default behavior). |
|
static final
Origin |
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 Origin |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Origin |
fromString(String name)
Creates or finds a Origin |
|
static
Collection<Origin |
values()
Gets known Origin |
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
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:
Returns:
values
public static Collection<OriginAuthenticationTokenDestinationHeader> values()
Gets known OriginAuthenticationTokenDestinationHeader values.
Returns: