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

Specifies a location to extract JWT from an API request.

Attributes

  • cookie (type: String.t, default: nil) - Specifies cookie name to extract JWT token.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.