public static enum PushedAuthReqResponse.Action extends Enum<PushedAuthReqResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The request is invalid.
|
CREATED
The pushed authorization request has been registered successfully.
|
FORBIDDEN
The client application is not allowed to use the pushed
authorization request endpoint.
|
INTERNAL_SERVER_ERROR
The API call was wrong or an error occurred on Authlete side.
|
PAYLOAD_TOO_LARGE
The size of the pushed authorization request is too large.
|
UNAUTHORIZED
The client authentication at the pushed authorization request
endpoint failed.
|
| Modifier and Type | Method and Description |
|---|---|
static PushedAuthReqResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushedAuthReqResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushedAuthReqResponse.Action CREATED
201 Created to the client
application.public static final PushedAuthReqResponse.Action BAD_REQUEST
400 Bad Request to the client application.public static final PushedAuthReqResponse.Action UNAUTHORIZED
401 Unauthorized
to the client application.public static final PushedAuthReqResponse.Action FORBIDDEN
403 Forbidden to the client application.public static final PushedAuthReqResponse.Action PAYLOAD_TOO_LARGE
413 Payload Too Large to the client
application.public static final PushedAuthReqResponse.Action INTERNAL_SERVER_ERROR
500 Internal Server Error to the client application.
However, it is up to the authorization server's policy whether to
return 500 actually.public static PushedAuthReqResponse.Action[] values()
for (PushedAuthReqResponse.Action c : PushedAuthReqResponse.Action.values()) System.out.println(c);
public static PushedAuthReqResponse.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.