Identity and Access Management API, gRPC: RefreshTokenService.List
List subjects Refresh Tokens.
gRPC request
rpc List (ListRefreshTokensRequest) returns (ListRefreshTokensResponse)
ListRefreshTokensRequest
{
"subject_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
subject_id |
string |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters refresh tokens listed in the response. The expression must specify:
|
ListRefreshTokensResponse
{
"refresh_tokens": [
{
"id": "string",
"client_instance_info": "string",
"client_id": "string",
"subject_id": "string",
"created_at": "google.protobuf.Timestamp",
"expires_at": "google.protobuf.Timestamp",
"last_used_at": "google.protobuf.Timestamp",
"protection_level": "ProtectionLevel"
}
],
"next_page_token": "string"
}
Field |
Description |
refresh_tokens[] |
List of Refresh Tokens |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
RefreshToken
Field |
Description |
id |
string Refresh Token id. |
client_instance_info |
string Information about the app for which the Refresh Token was issued. |
client_id |
string The OAuth client identifier for which the Refresh Token was issued. |
subject_id |
string The subject identifier for whom the Refresh Token was issued. |
created_at |
Refresh token creation time. |
expires_at |
Refresh token expiration time. |
last_used_at |
Timestamp for the last authentication using this Refresh Token. |
protection_level |
enum ProtectionLevel Protection level of the refresh token. It shows whether DPOP was used to protect the Refresh Token and and the level of security of the storage used for the DPOP key.
|