Package com.authlete.common.dto
Class AuthorizationAuthenticateRequest
- java.lang.Object
-
- com.authlete.common.dto.AuthorizationAuthenticateRequest
-
- All Implemented Interfaces:
Serializable
public class AuthorizationAuthenticateRequest extends Object implements Serializable
Request to Authlete's/auth/authorization/authenticateAPI.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). loginId(REQUIRED)-
The login ID of the end-user to authenticate.
password(REQUIRED)-
The password of the end-user to authenticate.
claims(OPTIONAL)-
A space-delimited names of claims to request.
claimsLocales(OPTIONAL)-
A space-delimited locales for claims.
- Author:
- Takahiko Kawasaki
- See Also:
AuthorizationResponse, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationAuthenticateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClaims()Get the space-delimited names of claims to request.StringgetClaimsLocales()Get the space-delimited locales for claims.StringgetLoginId()Get the login ID of the end-user to authenticate.StringgetPassword()Get the password of the end-user to authenticate.StringgetTicket()Get the value of"ticket"which is the ticket issued by Authlete's/auth/authorizationAPI to the service implementation.AuthorizationAuthenticateRequestsetClaims(String claims)Set the space-delimited names of claims to request.AuthorizationAuthenticateRequestsetClaimsLocales(String claimsLocales)Set the space-delimited locales for claims.AuthorizationAuthenticateRequestsetLoginId(String loginId)Set the login ID of the end-user to authenticate.AuthorizationAuthenticateRequestsetPassword(String password)Set the password of the end-user to authenticate.AuthorizationAuthenticateRequestsetTicket(String ticket)Set the value of"ticket"which is the ticket issued by Authlete's/auth/authorizationAPI to the service implementation.
-
-
-
Method Detail
-
getTicket
public String getTicket()
Get the value of"ticket"which is the ticket issued by Authlete's/auth/authorizationAPI to the service implementation.- Returns:
- The ticket.
-
setTicket
public AuthorizationAuthenticateRequest setTicket(String ticket)
Set the value of"ticket"which is the ticket issued by Authlete's/auth/authorizationAPI to the service implementation.- Parameters:
ticket- The ticket.- Returns:
thisobject.
-
getLoginId
public String getLoginId()
Get the login ID of the end-user to authenticate.- Returns:
- The login ID of the end-user to authenticate.
-
setLoginId
public AuthorizationAuthenticateRequest setLoginId(String loginId)
Set the login ID of the end-user to authenticate.- Parameters:
loginId- The login ID of the end-user to authenticate.- Returns:
thisobject.
-
getPassword
public String getPassword()
Get the password of the end-user to authenticate.- Returns:
- The password of the end-user to authenticate.
-
setPassword
public AuthorizationAuthenticateRequest setPassword(String password)
Set the password of the end-user to authenticate.- Parameters:
password- The password of the end-user to authenticate.- Returns:
thisobject.
-
getClaims
public String getClaims()
Get the space-delimited names of claims to request.- Returns:
- The space-delimited names of claims to request.
-
setClaims
public AuthorizationAuthenticateRequest setClaims(String claims)
Set the space-delimited names of claims to request.- Parameters:
claims- The space-delimited names of claims to request.- Returns:
thisobject.
-
getClaimsLocales
public String getClaimsLocales()
Get the space-delimited locales for claims.- Returns:
- The space-delimited locales for claims.
-
setClaimsLocales
public AuthorizationAuthenticateRequest setClaimsLocales(String claimsLocales)
Set the space-delimited locales for claims.- Parameters:
claimsLocales- The space-delimited locales for claims.- Returns:
thisobject.
-
-