PHP Interface AuthBucket\OAuth2\ResourceType\ResourceTypeHandlerInterface

Author: Wong Hoi Sing Edison ([email protected])
Datei anzeigen Open project: authbucket/oauth2

Public Methods

Method Description
handle ( string $accessToken, array $options = [] ) : AuthBucket\OAuth2\Model\AccessTokenInterface Handle corresponding resource type logic.

Method Details

handle() public method

Handle corresponding resource type logic.
public handle ( string $accessToken, array $options = [] ) : AuthBucket\OAuth2\Model\AccessTokenInterface
$accessToken string Access token for checking
$options array Additional options for this handler
return AuthBucket\OAuth2\Model\AccessTokenInterface The stored access token with meta information