Module Values.JWTConfigurationSource

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

Sourcetype nonrec t = {
  1. audience : string list option;
    (*

    A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

    *)
  2. issuer : UriWithLengthBetween1And2048.t option;
    (*

    The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

    *)
}
Sourceval make : ?audience:??? -> ?issuer:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string ] list | `String of UriWithLengthBetween1And2048.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t