public class UserInfoRequest extends Object implements Serializable
/auth/userinfo API.
token(REQUIRED)An access token to get user information.
| Constructor and Description |
|---|
UserInfoRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientCertificate()
Get the client certificate used in the TLS connection established
between the client application and the userinfo endpoint.
|
String |
getToken()
Get the access token which has come along with the userinfo
request from the client application.
|
UserInfoRequest |
setClientCertificate(String certificate)
Set the client certificate used in the TLS connection established
between the client application and the userinfo endpoint.
|
UserInfoRequest |
setToken(String token)
Set the access token which has been issued by Authlete.
|
public String getToken()
public UserInfoRequest setToken(String token)
public String getClientCertificate()
public UserInfoRequest setClientCertificate(String certificate)
The value of this request parameter is referred to when the access token given to the userinfo endpoint was bound to a client certificate when it was issued. See "OAuth 2.0 Mutual TLS Client Authentication and Certificate-Bound Access Tokens" for details about the specification of certificate-bound access tokens.
certificate - The client certificate in PEM format.this object.Copyright © 2019. All rights reserved.