Skip to content

Refresh User​

GET
/auth/token/refresh

Refresh Token and return Login Information. A new token is issued on every call, the bearer token that was used for the call stays valid for a grace period (AUTH_REFRESH_GRACE_DURATION, default 60 seconds) and is invalid afterwards.

Authorizations​

httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
or
httpAuth
Type
HTTP (bearer)

Responses​

application/json
JSON
{
  
"authToken": "string",
  
"userProfile": {
  
  
"user": "string",
  
  
"isAdmin": true,
  
  
"apiKey": "string",
  
  
"roles": [
  
  
  
"string"
  
  
],
  
  
"grants": [
  
  
  
{
  
  
  
  
"name": "string",
  
  
  
  
"read": true,
  
  
  
  
"write": true,
  
  
  
  
"administrate": true,
  
  
  
  
"grantType": "COLLECTION"
  
  
  
}
  
  
],
  
  
"email": "string",
  
  
"emailVerified": true,
  
  
"displayName": "string",
  
  
"identities": [
  
  
  
{
  
  
  
  
"provider": "string",
  
  
  
  
"subject": "string",
  
  
  
  
"email": "string"
  
  
  
}
  
  
],
  
  
"disabled": true,
  
  
"lastLoginAt": "2024-01-01T00:00:00Z",
  
  
"mfaEnabled": true
  
},
  
"expirationDate": "2024-01-01T00:00:00Z",
  
"refreshToken": "string",
  
"refreshExpirationDate": "2024-01-01T00:00:00Z",
  
"sessionId": "string"
}

Playground​

Authorization

Samples​

Powered by VitePress OpenAPI

Released under the MIT License.