oauth_flow_bearer_jwt {httr2} | R Documentation |
This function uses a Bearer JWT as an authorization grant to get an access token, as defined by rfc7523, Section 2.1. It is often used for service accounts, accounts that are used primarily in automated environments.
oauth_flow_bearer_jwt(
client,
claim,
signature = "jwt_encode_sig",
signature_params = list(),
scope = NULL,
token_params = list()
)
client |
An |
claim |
A list of claims. If all elements of the claim set are static
apart from |
signature |
Function use to sign |
signature_params |
Additional arguments passed to |
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_client_credentials()
,
oauth_flow_device()
,
oauth_flow_password()
,
oauth_flow_refresh()