TokenAuthenticator
class TokenAuthenticator implements Authenticator
Methods
__construct(string $token, string $prefix = 'Bearer')
Create a token authenticator.
void
Details
at line 16
__construct(string $token, string $prefix = 'Bearer')
Create a token authenticator.
at line 26
void
set(PendingRequest $pendingRequest)
Apply the authentication to the request.