public class TokenListResponse extends Object implements Serializable
/auth/token/get/list API.| Constructor and Description |
|---|
TokenListResponse() |
| Modifier and Type | Method and Description |
|---|---|
AccessToken[] |
getAccessTokens()
Get the list of access tokens that match the query conditions.
|
Client |
getClient()
Get the client information associated with the value of
'clientIdentifier'
parameter in the original request. |
int |
getEnd()
Get the end index (exclusive) for the result set of the query.
|
int |
getStart()
Get the start index (inclusive) for the result set of the query.
|
String |
getSubject()
Get the value of
'subject' parameter in the original request. |
int |
getTotalCount()
Get the total count of access tokens.
|
TokenListResponse |
setAccessTokens(AccessToken[] accessTokens)
Set the list of access tokens that match the query conditions.
|
TokenListResponse |
setClient(Client client)
Set the client information associated with the value of
'clientIdentifier'
parameter in the original request. |
TokenListResponse |
setEnd(int end)
Set the end index (exclusive) for the result set of the query.
|
TokenListResponse |
setStart(int start)
Set the start index (inclusive) for the result set of the query.
|
TokenListResponse |
setSubject(String subject)
Set the value of
'subject' parameter in the original request. |
TokenListResponse |
setTotalCount(int count)
Set the total count of access tokens.
|
public int getStart()
'start' parameter), or the default value (0) if the
original request did not contain the parameter.public TokenListResponse setStart(int start)
start - The start index for the result set of the query.this object.public int getEnd()
'end' parameter), or the default value defined in
Authlete server if the original request did not contain the
parameter.public TokenListResponse setEnd(int end)
end - The end index for the result set of the query.this object.public Client getClient()
'clientIdentifier'
parameter in the original request. If the original request did not contain
the parameter, this method returns null.'clientIdentifier'
parameter in the original request. null is returned if the
original request did not contain the parameter.public TokenListResponse setClient(Client client)
'clientIdentifier'
parameter in the original request.client - The client information associated with the value of 'clientIdentifier'
parameter in the original request.this object.public String getSubject()
'subject' parameter in the original request. If
the original request did not contain the parameter, this method returns
null.'subject' parameter in the original request.
null is returned if the original request did not contain
the parameter.public TokenListResponse setSubject(String subject)
'subject' parameter in the original request.subject - The value of 'subject' parameter in the original request.this object.public int getTotalCount()
'clientIdentifier' parameter is null
and the value of 'subject' parameter is null in the original
request, it means the total count of the access tokens associated with
the service.
'clientIdentifier' parameter is null
and the value of 'subject' parameter is not null in the
original request, it means the total count of the access tokens associated
with the subject.
'clientIdentifier' parameter is not null
and the value of 'subject' parameter is null in the original
request, it means the total count of the access tokens associated with
the client application.
'clientIdentifier' parameter is not null
and the value of 'subject' parameter is not null in the
original request, it means the total count of the access tokens associated
with the client application and the subject.
public TokenListResponse setTotalCount(int count)
getTotalCount() for more details.this object.public AccessToken[] getAccessTokens()
null when no access tokens matched
the query conditions.public TokenListResponse setAccessTokens(AccessToken[] accessTokens)
clients - List of access tokens, or null when no access tokens matched
the query conditions.this object.Copyright © 2019. All rights reserved.