Skip to content

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.