Module Values.RegisterClientResponseSource

Registers a public client with IAM Identity Center. This allows clients to perform authorization using the authorization code grant with Proof Key for Code Exchange (PKCE) or the device code grant.

Sourcetype nonrec t = {
  1. clientId : ClientId.t option;
    (*

    The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.

    *)
  2. clientSecret : ClientSecret.t option;
    (*

    A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.

    *)
  3. clientIdIssuedAt : LongTimeStampType.t option;
    (*

    Indicates the time at which the clientId and clientSecret were issued.

    *)
  4. clientSecretExpiresAt : LongTimeStampType.t option;
    (*

    Indicates the time at which the clientId and clientSecret will become invalid.

    *)
  5. authorizationEndpoint : URI.t option;
    (*

    An endpoint that the client can use to request authorization.

    *)
  6. tokenEndpoint : URI.t option;
    (*

    An endpoint that the client can use to create tokens.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidClientMetadataException of InvalidClientMetadataException.t
  3. | `InvalidRedirectUriException of InvalidRedirectUriException.t
  4. | `InvalidRequestException of InvalidRequestException.t
  5. | `InvalidScopeException of InvalidScopeException.t
  6. | `SlowDownException of SlowDownException.t
  7. | `UnsupportedGrantTypeException of UnsupportedGrantTypeException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?clientId:??? -> ?clientSecret:??? -> ?clientIdIssuedAt:??? -> ?clientSecretExpiresAt:??? -> ?authorizationEndpoint:??? -> ?tokenEndpoint:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidClientMetadataException of InvalidClientMetadataException.t | `InvalidRedirectUriException of InvalidRedirectUriException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidScopeException of InvalidScopeException.t | `SlowDownException of SlowDownException.t | `Unknown_operation_error of string * string option | `UnsupportedGrantTypeException of UnsupportedGrantTypeException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidClientMetadataException of InvalidClientMetadataException.t | `InvalidRedirectUriException of InvalidRedirectUriException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidScopeException of InvalidScopeException.t | `SlowDownException of SlowDownException.t | `Unknown_operation_error of string * string option | `UnsupportedGrantTypeException of UnsupportedGrantTypeException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of LongTimeStampType.t | `String of ClientId.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