Values.CreateOAuth2TokenResponseSourceOutput structure for CreateOAuth2Token operation Contains flattened token operation outputs for both authorization code and refresh token flows. The response content depends on the grant_type from the original request.
type nonrec t = {tokenOutput : CreateOAuth2TokenResponseBody.t option;Flattened token operation outputs The specific response fields depend on the grant_type used in the request
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `TooManyRequestsError of TooManyRequestsError.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `TooManyRequestsError of TooManyRequestsError.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `TooManyRequestsError of TooManyRequestsError.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of ExpiresIn.t
| `String of TokenType.t
| `Structure of (string * [> `String of String_.t ]) list ])
list ])
list ]