API Reference req_client_credentials v#0.1.5
View SourceModules
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 host and port
of the :url match that of the :audience.