json.schema.auth.jwtAuth.json Maven / Gradle / Ivy
{
"$id": "https://open-metadata.org/schema/api/auth/jwtAuth.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JWTAuthMechanism",
"description": "User/Bot JWTAuthMechanism.",
"type": "object",
"javaType": "org.openmetadata.schema.auth.JWTAuthMechanism",
"definitions": {
"JWTTokenExpiry": {
"javaType": "org.openmetadata.schema.auth.JWTTokenExpiry",
"description": "JWT Auth Token expiration in days",
"type": "string",
"enum": ["OneHour", "1", "7", "30", "60", "90", "Unlimited"],
"javaEnums": [
{
"name": "OneHour"
},
{
"name": "One"
},
{
"name": "Seven"
},
{
"name": "Thirty"
},
{
"name": "Sixty"
},
{
"name": "Ninety"
},
{
"name": "Unlimited"
}
]
}
},
"properties": {
"JWTToken": {
"title": "JWT Token",
"description": "JWT Auth Token.",
"type": "string",
"format": "password",
"expose": true
},
"JWTTokenExpiry": {
"$ref": "#/definitions/JWTTokenExpiry"
},
"JWTTokenExpiresAt": {
"description": "JWT Auth Token expiration time.",
"$ref": "../type/basic.json#/definitions/timestamp"
}
},
"additionalProperties": false,
"required": ["JWTTokenExpiry"]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy