API Reference req_client_credentials v#0.1.3

View Source

Modules

Req plugin for OAuth 2.0 client credentials flow authentication. The access token will be cached and reused for subsequent requests, if the response to the :url returns a 401 response then this plugin will refresh the access token (only refreshes one time). If an :audience is included in :client_credentials_params then this plugin will only run if the schema, host, and port of the :url match that of the :audience.