Get Refresh Tokens​
Returns the list of refresh tokens of the authenticated user.
Request Body required
object
Request Body required
object
Request Body required
object
- 200
- default
A successful response.
Schema
- Array [
- ]
details object
the last time the view got updated
result object[]
details object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-05-24T10:54:19.533Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-05-24T10:54:19.533Z",
"changeDate": "2024-05-24T10:54:19.533Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
Schema
- Array [
- ]
details object
the last time the view got updated
result object[]
details object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-05-24T10:54:19.533Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-05-24T10:54:19.533Z",
"changeDate": "2024-05-24T10:54:19.533Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
Schema
- Array [
- ]
details object
the last time the view got updated
result object[]
details object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-05-24T10:54:19.534Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-05-24T10:54:19.534Z",
"changeDate": "2024-05-24T10:54:19.534Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}