Values.OAuthCredentialsSourceThe OAuth credentials required for OAuth type authentication.
type nonrec t = {clientId : ClientId.t;The identifier for the desired client.
*)clientSecret : ClientSecret.t;The client secret used by the OAuth client to authenticate to the authorization server.
*)accessToken : AccessToken.t option;The access token used to access protected SAPOData resources.
*)refreshToken : RefreshToken.t option;The refresh token used to refresh expired access token.
*)oAuthRequest : ConnectorOAuthRequest.t option;The OAuth requirement needed to request security tokens from the connector endpoint.
*)}val make :
?accessToken:??? ->
?refreshToken:??? ->
?oAuthRequest:??? ->
clientId:ClientId.t ->
clientSecret:ClientSecret.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of ClientId.t
| `Structure of (string * [> `String of AuthCode.t ]) list ])
list ]