json.schema.auth.refreshToken.json Maven / Gradle / Ivy
{
"$id": "https://open-metadata.org/schema/auth/refreshToken.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "RefreshToken",
"description": "This schema defines Refresh Token Schema.",
"type": "object",
"javaType": "org.openmetadata.schema.auth.RefreshToken",
"javaInterfaces": ["org.openmetadata.schema.TokenInterface"],
"properties": {
"token": {
"description": "Unique Refresh Token for user",
"$ref": "../type/basic.json#/definitions/uuid"
},
"userId": {
"description": "User Id of the User this refresh token is given to",
"$ref": "../type/basic.json#/definitions/uuid"
},
"tokenType": {
"description": "Token Type",
"$ref": "./emailVerificationToken.json#/definitions/tokenType",
"default": "REFRESH_TOKEN"
},
"refreshCount": {
"description": "Refresh Count",
"type": "integer"
},
"maxRefreshCount": {
"description": "Refresh Count",
"type": "integer"
},
"expiryDate": {
"description": "Expiry Date-Time of the token",
"$ref": "../type/basic.json#/definitions/timestamp"
}
},
"required": [
"token",
"userId",
"expiryDate"
],
"additionalProperties": false
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy