JwtLocationArgs

data class JwtLocationArgs(val cookie: Output<String>? = null, val header: Output<String>? = null, val query: Output<String>? = null, val valuePrefix: Output<String>? = null) : ConvertibleToJava<JwtLocationArgs>

Specifies a location to extract JWT from an API request.

Constructors

Link copied to clipboard
fun JwtLocationArgs(cookie: Output<String>? = null, header: Output<String>? = null, query: Output<String>? = null, valuePrefix: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): JwtLocationArgs

Properties

Link copied to clipboard
val cookie: Output<String>? = null

Specifies cookie name to extract JWT token.

Link copied to clipboard
val header: Output<String>? = null

Specifies HTTP header name to extract JWT token.

Link copied to clipboard
val query: Output<String>? = null

Specifies URL query parameter name to extract JWT token.

Link copied to clipboard
val valuePrefix: Output<String>? = null

The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.