Module Values.RegisterOidcConfigResponseSource

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. applicationName : GenericString.t option;
    (*

    The name of the registered OIDC application.

    *)
  2. clientId : GenericString.t option;
    (*

    The OAuth client ID assigned to the application.

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

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

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

    The OAuth scopes configured for the application.

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

    The issuer URL of the OIDC provider.

    *)
  6. clientSecret : SensitiveString.t option;
    (*

    The OAuth client secret for the application.

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

    The client secret for authenticating with the OIDC provider.

    *)
  8. redirectUrl : GenericString.t option;
    (*

    The redirect URL configured for the OAuth flow.

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

    The claim field being used as the user identifier.

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

    The custom field mapping used for extracting the username.

    *)
  11. caCertificate : GenericString.t option;
    (*

    The CA certificate used for secure communication with the OIDC provider.

    *)
  12. applicationId : RegisterOidcConfigResponseApplicationIdInteger.t option;
    (*

    The unique identifier for the registered OIDC application.

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

    The buffer time in minutes before the SSO token expires.

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

    The additional authentication parameters configured for the OIDC flow.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestError of BadRequestError.t
  2. | `ForbiddenError of ForbiddenError.t
  3. | `InternalServerError of InternalServerError.t
  4. | `RateLimitError of RateLimitError.t
  5. | `ResourceNotFoundError of ResourceNotFoundError.t
  6. | `UnauthorizedError of UnauthorizedError.t
  7. | `ValidationError of ValidationError.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationName:??? -> ?clientId:??? -> ?companyId:??? -> ?scopes:??? -> ?issuer:??? -> ?clientSecret:??? -> ?secret:??? -> ?redirectUrl:??? -> ?userId:??? -> ?customUsername:??? -> ?caCertificate:??? -> ?applicationId:??? -> ?ssoTokenBufferMinutes:??? -> ?extraAuthParams:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestError of BadRequestError.t | `ForbiddenError of ForbiddenError.t | `InternalServerError of InternalServerError.t | `RateLimitError of RateLimitError.t | `ResourceNotFoundError of ResourceNotFoundError.t | `UnauthorizedError of UnauthorizedError.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RegisterOidcConfigResponseApplicationIdInteger.t | `String of GenericString.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