OnUnauthenticatedRequest Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. OnUnauthenticatedRequest
- com.
- com.
public final class OnUnauthenticatedRequest
extends ExpandableStringEnum<OnUnauthenticatedRequest>
Action to take when a request is unauthenticated.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
On |
ALLOW
Allow the request to pass through without authentication. |
|
static final
On |
AUTHENTICATE
Redirect the request to the authentication provider. |
|
static final
On |
DENY
Deny the request when no credential is presented. |
Constructor Summary
| Constructor | Description |
|---|---|
| OnUnauthenticatedRequest() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of On |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
On |
fromString(String name)
Creates or finds a On |
|
static
Collection<On |
values()
Gets known On |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final OnUnauthenticatedRequest ALLOW
Allow the request to pass through without authentication.
AUTHENTICATE
public static final OnUnauthenticatedRequest AUTHENTICATE
Redirect the request to the authentication provider. Only valid for the user authentication capability.
DENY
public static final OnUnauthenticatedRequest DENY
Deny the request when no credential is presented.
Constructor Details
OnUnauthenticatedRequest
@Deprecated
public OnUnauthenticatedRequest()
Deprecated
Creates a new instance of OnUnauthenticatedRequest value.
Method Details
fromString
public static OnUnauthenticatedRequest fromString(String name)
Creates or finds a OnUnauthenticatedRequest from its string representation.
Parameters:
Returns:
values
public static Collection<OnUnauthenticatedRequest> values()
Gets known OnUnauthenticatedRequest values.
Returns: