Module Values.GrantSource

The Grant union represents the set of possible configuration options for the selected grant type. Exactly one member of the union must be specified, and must match the grant type selected.

Sourcetype nonrec t = {
  1. authorizationCode : AuthorizationCodeGrant.t option;
    (*

    Configuration options for the authorization_code grant type.

    *)
  2. jwtBearer : JwtBearerGrant.t option;
    (*

    Configuration options for the urn:ietf:params:oauth:grant-type:jwt-bearer grant type.

    *)
  3. refreshToken : RefreshTokenGrant.t option;
    (*

    Configuration options for the refresh_token grant type.

    *)
  4. tokenExchange : TokenExchangeGrant.t option;
    (*

    Configuration options for the urn:ietf:params:oauth:grant-type:token-exchange grant type.

    *)
}
Sourceval make : ?authorizationCode:??? -> ?jwtBearer:??? -> ?refreshToken:??? -> ?tokenExchange:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `String of URI.t | `Structure of (string * [> `List of [> `String of TokenIssuerAudience.t ] list | `String of TrustedTokenIssuerArn.t ]) list ] list ]) 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