There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

OIDC::Client::ApiUserAgentBuilder - API user agent builder

DESCRIPTION

Exports functions that help create an API user agent (Mojo::UserAgent object). For each request, the user agent includes the access token in the Authorization header.

FUNCTIONS

build_api_useragent_from_token_response( $token_response )

Builds a Mojo::UserAgent object from an OIDC::Client::TokenResponse object.

build_api_useragent_from_access_token( $access_token )

Builds a Mojo::UserAgent object from an OIDC::Client::AccessToken object.

build_api_useragent_from_token_value( $token_value, $token_type )

Builds a Mojo::UserAgent object from a token value (string).