class TokenStorage

class TokenStorage

Methods

create(OAuthClientInterface $client, array $storage = ['type' => 'session'])

Create a Token Storage instance according to the given storage options.

Details

at line 23
static TokenStorageInterface create(OAuthClientInterface $client, array $storage = ['type' => 'session'])

Create a Token Storage instance according to the given storage options.

Parameters

OAuthClientInterface $client
array $storage the storage options

Return Value

TokenStorageInterface