{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConnectionGatewayAuthentication",
"title": "ConnectionGatewayAuthentication",
"type": [
"object",
"null"
],
"description": "Token-based authentication settings to be applied when connection is using an sms strategy.",
"additionalProperties": true,
"required": [
"method",
"audience",
"secret"
],
"properties": {
"method": {
"type": "string",
"description": "The Authorization header type."
},
"subject": {
"type": "string",
"description": "The subject to be added to the JWT payload."
},
"audience": {
"type": "string",
"description": "The audience to be added to the JWT payload."
},
"secret": {
"type": "string",
"description": "The secret to be used for signing tokens."
},
"secret_base64_encoded": {
"type": "boolean",
"description": "Set to true if the provided secret is base64 encoded."
}
}
}