Acronis · Schema
TokenResponse
OAuth2 token response
CybersecurityData ProtectionEndpoint Management
Properties
| Name | Type | Description |
|---|---|---|
| access_token | string | JWT access token |
| token_type | string | |
| expires_in | integer | Token lifetime in seconds |
| refresh_token | string | Refresh token for obtaining new access tokens |
| scope | string | Granted OAuth2 scopes |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TokenResponse",
"title": "TokenResponse",
"type": "object",
"description": "OAuth2 token response",
"properties": {
"access_token": {
"type": "string",
"description": "JWT access token",
"example": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
},
"token_type": {
"type": "string",
"enum": [
"Bearer"
],
"example": "Bearer"
},
"expires_in": {
"type": "integer",
"description": "Token lifetime in seconds",
"example": 3600
},
"refresh_token": {
"type": "string",
"description": "Refresh token for obtaining new access tokens"
},
"scope": {
"type": "string",
"description": "Granted OAuth2 scopes"
}
}
}