class OAuthAccountAuthenticator implements Authenticator

Properties

protected OAuthAccountIdentity $identity

Methods

__construct(OAuthAccount $account, Closure $refreshUsing)

Capture the persisted account identity and its renewal callback.

void
set(PendingRequest $pendingRequest)

Apply current credentials without retaining a private token copy.

Details

at line 26
__construct(OAuthAccount $account, Closure $refreshUsing)

Capture the persisted account identity and its renewal callback.

Parameters

OAuthAccount $account
Closure $refreshUsing

at line 34
void set(PendingRequest $pendingRequest)

Apply current credentials without retaining a private token copy.

Parameters

PendingRequest $pendingRequest

Return Value

void