Module Values.OpenIdConnectTokenSelectionDetailSource

The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source. This data type is part of a OpenIdConnectConfigurationDetail structure, which is a parameter of GetIdentitySource.

Sourcetype nonrec t = {
  1. accessTokenOnly : OpenIdConnectAccessTokenConfigurationDetail.t option;
    (*

    The OIDC configuration for processing access tokens. Contains allowed audience claims, for example https://auth.example.com, and the claim that you want to map to the principal, for example sub.

    *)
  2. identityTokenOnly : OpenIdConnectIdentityTokenConfigurationDetail.t option;
    (*

    The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example 1example23456789, and the claim that you want to map to the principal, for example sub.

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