GoogleApi.ServiceManagement.V1.Model.JwtLocation (google_api_service_management v0.56.0) View Source

Specifies a location to extract JWT from an API request.

Attributes

  • header (type: String.t, default: nil) - Specifies HTTP header name to extract JWT token.
  • query (type: String.t, default: nil) - Specifies URL query parameter name to extract JWT token.
  • valuePrefix (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceManagement.V1.Model.JwtLocation{
  header: String.t() | nil,
  query: String.t() | nil,
  valuePrefix: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.