@Immutable public final class ResponseMode extends Identifier
Related specifications:
Modifier and Type | Field and Description |
---|---|
static ResponseMode |
FORM_POST
The authorisation response parameters are encoded as HTML form
values that are auto-submitted in the User Agent, and thus are
transmitted via the HTTP POST method to the client, with the result
parameters being encoded in the body using the
application/x-www-form-urlencoded format. |
static ResponseMode |
FRAGMENT
The authorisation response parameters are encoded in the fragment
added to the
redirect_uri when redirecting back to the
client. |
static ResponseMode |
QUERY
The authorisation response parameters are encoded in the query
string added to the
redirect_uri when redirecting back to
the client. |
DEFAULT_BYTE_LENGTH
Constructor and Description |
---|
ResponseMode(String value)
Creates a new authorisation response mode with the specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
compareTo, getValue, hashCode, toJSONString, toString
public static final ResponseMode QUERY
redirect_uri
when redirecting back to
the client.public static final ResponseMode FRAGMENT
redirect_uri
when redirecting back to the
client.public static final ResponseMode FORM_POST
application/x-www-form-urlencoded
format. The action
attribute of the form MUST be the client's redirection URI. The
method of the form attribute MUST be POST.public ResponseMode(String value)
value
- The response mode value. Must not be null
.public boolean equals(Object object)
equals
in class Identifier
Copyright © 2017 Connect2id Ltd.. All rights reserved.