Values.RegisterOidcConfigResponseSourceRegisters and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.
type nonrec t = {applicationName : GenericString.t option;The name of the registered OIDC application.
*)clientId : GenericString.t option;The OAuth client ID assigned to the application.
*)companyId : GenericString.t option;Custom identifier your end users will use to sign in with SSO.
*)scopes : GenericString.t option;The OAuth scopes configured for the application.
*)issuer : GenericString.t option;The issuer URL of the OIDC provider.
*)clientSecret : SensitiveString.t option;The OAuth client secret for the application.
*)secret : SensitiveString.t option;The client secret for authenticating with the OIDC provider.
*)redirectUrl : GenericString.t option;The redirect URL configured for the OAuth flow.
*)userId : GenericString.t option;The claim field being used as the user identifier.
*)customUsername : GenericString.t option;The custom field mapping used for extracting the username.
*)caCertificate : GenericString.t option;The CA certificate used for secure communication with the OIDC provider.
*)applicationId : RegisterOidcConfigResponseApplicationIdInteger.t option;The unique identifier for the registered OIDC application.
*)ssoTokenBufferMinutes : Integer.t option;The buffer time in minutes before the SSO token expires.
*)extraAuthParams : GenericString.t option;The additional authentication parameters configured for the OIDC flow.
*)}type nonrec error = [ | `BadRequestError of BadRequestError.t| `ForbiddenError of ForbiddenError.t| `InternalServerError of InternalServerError.t| `RateLimitError of RateLimitError.t| `ResourceNotFoundError of ResourceNotFoundError.t| `ValidationError of ValidationError.t| `Unknown_operation_error of string * string option ]val make :
?applicationName:??? ->
?clientId:??? ->
?companyId:??? ->
?scopes:??? ->
?issuer:??? ->
?clientSecret:??? ->
?secret:??? ->
?redirectUrl:??? ->
?userId:??? ->
?customUsername:??? ->
?caCertificate:??? ->
?applicationId:??? ->
?ssoTokenBufferMinutes:??? ->
?extraAuthParams:??? ->
unit ->
tval 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 ]val 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 ]val to_value :
t ->
[> `Structure of
(string
* [> `Integer of RegisterOidcConfigResponseApplicationIdInteger.t
| `String of GenericString.t ])
list ]