Module Values.OpenIdConnectAccessTokenConfigurationDetailSource

The configuration of an OpenID Connect (OIDC) identity source for handling access token claims. Contains the claim that you want to identify as the principal in an authorization request, and the values of the aud claim, or audiences, that you want to accept. This data type is part of a OpenIdConnectTokenSelectionDetail structure, which is a parameter of GetIdentitySource.

Sourcetype nonrec t = {
  1. principalIdClaim : Claim.t option;
    (*

    The claim that determines the principal in OIDC access tokens. For example, sub.

    *)
  2. audiences : Audiences.t option;
    (*

    The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.

    *)
}
Sourceval make : ?principalIdClaim:??? -> ?audiences:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Audience.t ] list | `String of Claim.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