oauth_flow_client_credentials {httr2} | R Documentation |
This function implements the OAuth client credentials flow, as defined by rfc6749, Section 4.4. It is used to allow the client to access resources that it controls directly, not on behalf of an user.
oauth_flow_client_credentials(client, scope = NULL, token_params = list())
client |
An |
scope |
Scopes to be requested from the resource owner. |
token_params |
List containing additional parameters passed to the
|
An oauth_token.
Other OAuth flows:
oauth_flow_auth_code()
,
oauth_flow_bearer_jwt()
,
oauth_flow_device()
,
oauth_flow_password()
,
oauth_flow_refresh()