Jwt Auth Model Args
data class JwtAuthModelArgs(val headers: Output<Map<String, String>>? = null, val isCredentialsInHeaders: Output<Boolean>? = null, val isJsonRequest: Output<Boolean>? = null, val password: Output<Map<String, String>>, val queryParameters: Output<Map<String, String>>? = null, val requestTimeoutInSeconds: Output<Int>? = null, val tokenEndpoint: Output<String>, val type: Output<String>, val userName: Output<Map<String, String>>) : ConvertibleToJava<JwtAuthModelArgs>
Model for API authentication with JWT. Simple exchange between user name + password to access token.
Constructors
Link copied to clipboard
constructor(headers: Output<Map<String, String>>? = null, isCredentialsInHeaders: Output<Boolean>? = null, isJsonRequest: Output<Boolean>? = null, password: Output<Map<String, String>>, queryParameters: Output<Map<String, String>>? = null, requestTimeoutInSeconds: Output<Int>? = null, tokenEndpoint: Output<String>, type: Output<String>, userName: Output<Map<String, String>>)
Properties
Link copied to clipboard
Flag indicating whether we want to send the user name and password to token endpoint in the headers.
Link copied to clipboard
Flag indicating whether the body request is JSON (header Content-Type = application/json), meaning its a Form URL encoded request (header Content-Type = application/x-www-form-urlencoded).
Link copied to clipboard
The custom query parameter we want to add once we send request to token endpoint.
Link copied to clipboard
Request timeout in seconds.
Link copied to clipboard
Token endpoint to request JWT
Link copied to clipboard