OAuth flow: client credentials
Source:R/oauth-flow-client-credentials.R
oauth_flow_client_credentials.Rd
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.
Usage
oauth_flow_client_credentials(client, scope = NULL, token_params = list())
Arguments
- client
An
oauth_client()
.- scope
Scopes to be requested from the resource owner.
- token_params
List containing additional parameters passed to the
token_url
.
Value
An oauth_token.
See also
Other OAuth flows:
oauth_flow_auth_code()
,
oauth_flow_bearer_jwt()
,
oauth_flow_device()
,
oauth_flow_password()
,
oauth_flow_refresh()