Module Values.RegisterOidcConfigTestResponseSource

Tests an OpenID Connect (OIDC) configuration for a Wickr network by validating the connection to the identity provider and retrieving its supported capabilities.

Sourcetype nonrec t = {
  1. tokenEndpoint : GenericString.t option;
    (*

    The token endpoint URL discovered from the OIDC provider.

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

    The user info endpoint URL discovered from the OIDC provider.

    *)
  3. responseTypesSupported : StringList.t option;
    (*

    The OAuth response types supported by the OIDC provider.

    *)
  4. scopesSupported : StringList.t option;
    (*

    The OAuth scopes supported by the OIDC provider.

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

    The issuer URL confirmed by the OIDC provider.

    *)
  6. authorizationEndpoint : GenericString.t option;
    (*

    The authorization endpoint URL discovered from the OIDC provider.

    *)
  7. endSessionEndpoint : GenericString.t option;
    (*

    The end session endpoint URL for logging out users from the OIDC provider.

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

    The logout endpoint URL for terminating user sessions.

    *)
  9. grantTypesSupported : StringList.t option;
    (*

    The OAuth grant types supported by the OIDC provider.

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

    The token revocation endpoint URL for invalidating tokens.

    *)
  11. tokenEndpointAuthMethodsSupported : StringList.t option;
    (*

    The authentication methods supported by the token endpoint.

    *)
  12. microsoftMultiRefreshToken : Boolean.t option;
    (*

    Indicates whether the provider supports Microsoft multi-refresh tokens.

    *)
}
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 : ?tokenEndpoint:??? -> ?userinfoEndpoint:??? -> ?responseTypesSupported:??? -> ?scopesSupported:??? -> ?issuer:??? -> ?authorizationEndpoint:??? -> ?endSessionEndpoint:??? -> ?logoutEndpoint:??? -> ?grantTypesSupported:??? -> ?revocationEndpoint:??? -> ?tokenEndpointAuthMethodsSupported:??? -> ?microsoftMultiRefreshToken:??? -> 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 * [> `Boolean of Boolean.t | `List of [> `String of GenericString.t ] list | `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