Module Values.OpenIdConnectIdentityTokenConfigurationSource

The configuration of an OpenID Connect (OIDC) identity source for handling identity (ID) 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 OpenIdConnectTokenSelection structure, which is a parameter of CreateIdentitySource.

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

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

    *)
  2. clientIds : ClientIds.t option;
    (*

    The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.

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