public class AuthorizationIssueRequest extends Object implements Serializable
/auth/authorization/issue API.
ticket(REQUIRED)The ticket issued by Authlete's
/auth/authorizationAPI to the service implementation. It is the value of"ticket"contained in the response from Authlete's/auth/authorizationAPI (AuthorizationResponse).subject(REQUIRED)The subject (= a user account managed by the service) who has granted authorization to the client application.
authTime(OPTIONAL)The time when the authentication of the end-user occurred.
acr(OPTIONAL)The Authentication Context Class Reference performed for the end-user authentication.
claims(OPTIONAL)The claims of the end-user (= pieces of information about the end-user) in JSON format. See OpenID Connect Core 1.0, 5.1. Standard Claims for details about the format.
AuthorizationResponse,
OpenID Connect Core 1.0, 5.1. Standard Claims,
Serialized Form| Constructor and Description |
|---|
AuthorizationIssueRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcr()
Get the value of
"acr" which is the authentication
context class reference value which the end-user authentication
satisfied. |
long |
getAuthTime()
Get the value of
"authTime" which is the time
when the authentication of the end-user occurred. |
String |
getClaims()
Get the value of
"claims" which is the claims of the subject
in JSON format. |
String |
getSubject()
Get the value of
"subject" which is the subject
(= a user account managed by the service) who has granted
authorization to the client application. |
String |
getTicket()
Get the value of
"ticket" which is the ticket
issued by Authlete's /auth/authorization API
to the service implementation. |
AuthorizationIssueRequest |
setAcr(String acr)
Set the value of
"acr" which is the authentication
context class reference value which the end-user authentication
satisfied. |
AuthorizationIssueRequest |
setAuthTime(long authTime)
Set the value of
"authTime" which is the time
when the authentication of the end-user occurred. |
AuthorizationIssueRequest |
setClaims(String claims)
Set the value of
"claims" which is the claims of the subject
in JSON format. |
AuthorizationIssueRequest |
setSubject(String subject)
Set the value of
"subject" which is the subject
(= a user account managed by the service) who has granted
authorization to the client application. |
AuthorizationIssueRequest |
setTicket(String ticket)
Set the value of
"ticket" which is the ticket
issued by Authlete's /auth/authorization API
to the service implementation. |
public String getTicket()
"ticket" which is the ticket
issued by Authlete's /auth/authorization API
to the service implementation.public AuthorizationIssueRequest setTicket(String ticket)
"ticket" which is the ticket
issued by Authlete's /auth/authorization API
to the service implementation.ticket - The ticket.this object.public String getSubject()
"subject" which is the subject
(= a user account managed by the service) who has granted
authorization to the client application.public AuthorizationIssueRequest setSubject(String subject)
"subject" which is the subject
(= a user account managed by the service) who has granted
authorization to the client application.subject - The subject.this object.public long getAuthTime()
"authTime" which is the time
when the authentication of the end-user occurred.public AuthorizationIssueRequest setAuthTime(long authTime)
"authTime" which is the time
when the authentication of the end-user occurred.authTime - The time when the end-user authentication occurred.
It is the number of seconds since 1970-01-01.this object.public String getAcr()
"acr" which is the authentication
context class reference value which the end-user authentication
satisfied.public AuthorizationIssueRequest setAcr(String acr)
"acr" which is the authentication
context class reference value which the end-user authentication
satisfied.acr - The authentication context class reference.this object.public String getClaims()
"claims" which is the claims of the subject
in JSON format.setClaims(String) for details about the format.setClaims(String)public AuthorizationIssueRequest setClaims(String claims)
"claims" which is the claims of the subject
in JSON format.
The service implementation is required to retrieve claims of the subject (= information about the end-user) from its database and format them in JSON format.
For example, if "given_name" claim, "family_name"
claim and "email" claim are requested, the service implementation
should generate a JSON object like the following:
{
"given_name": "Takahiko",
"family_name": "Kawasaki",
"email": "takahiko.kawasaki@example.com"
}
and set its String representation by this method.
See OpenID Connect Core 1.0, 5.1. Standard Claims for further details about the format.
claims - The claims of the subject in JSON format.this object.Copyright © 2015. All rights reserved.