Module Values.RegisterOidcConfigRequestSource

Registers and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.

Sourcetype nonrec t = {
  1. networkId : NetworkId.t;
    (*

    The ID of the Wickr network for which OIDC will be configured.

    *)
  2. companyId : GenericString.t;
    (*

    Custom identifier your end users will use to sign in with SSO.

    *)
  3. customUsername : GenericString.t option;
    (*

    A custom field mapping to extract the username from the OIDC token (optional). The customUsername is only required if you use something other than email as the username field.

    *)
  4. extraAuthParams : GenericString.t option;
    (*

    Additional authentication parameters to include in the OIDC flow (optional).

    *)
  5. issuer : GenericString.t;
    (*

    The issuer URL of the OIDC provider (e.g., 'https://login.example.com').

    *)
  6. scopes : GenericString.t;
    (*

    The OAuth scopes to request from the OIDC provider (e.g., 'openid profile email').

    *)
  7. secret : SensitiveString.t option;
    (*

    The client secret for authenticating with the OIDC provider (optional).

    *)
  8. ssoTokenBufferMinutes : Integer.t option;
    (*

    The buffer time in minutes before the SSO token expires to refresh it (optional).

    *)
  9. userId : GenericString.t option;
    (*

    Unique identifier provided by your identity provider to authenticate the access request. Also referred to as clientID.

    *)
}
Sourceval context_ : string
Sourceval make : ?customUsername:??? -> ?extraAuthParams:??? -> ?secret:??? -> ?ssoTokenBufferMinutes:??? -> ?userId:??? -> networkId:NetworkId.t -> companyId:GenericString.t -> issuer:GenericString.t -> scopes:GenericString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NetworkId.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