CredentialsWrapper
class CredentialsWrapper
The CredentialsWrapper object provides a wrapper around a FetchAuthTokenInterface.
Traits
Methods
__construct(FetchAuthTokenInterface $credentialsFetcher, callable $authHttpHandler = null)
CredentialsWrapper constructor.
static CredentialsWrapper
build(array $args = [])
Factory method to create a CredentialsWrapper from an array of options.
string
getBearerString()
No description
callable
getAuthorizationHeaderCallback()
No description
Details
in ValidationTrait at line 41
static array
validate(array $arr, array $requiredKeys)
in ValidationTrait at line 51
static array
validateNotNull(array $arr, array $requiredKeys)
at line 65
__construct(FetchAuthTokenInterface $credentialsFetcher, callable $authHttpHandler = null)
CredentialsWrapper constructor.
at line 97
static CredentialsWrapper
build(array $args = [])
Factory method to create a CredentialsWrapper from an array of options.