class ResourceProvider implements AuthenticationProviderInterface

ResourceProvider implements OAuth2 resource endpoint authentication.

Properties

protected $providerKey
protected $resourceTypeHandlerFactory
protected $resourceType
protected $scopeRequired
protected $options

Methods

__construct($providerKey, ResourceTypeHandlerFactoryInterface $resourceTypeHandlerFactory, $resourceType = 'model', array $scopeRequired = [], array $options = [])

No description

authenticate(TokenInterface $token)

No description

supports(TokenInterface $token)

No description

Details

at line 33
__construct($providerKey, ResourceTypeHandlerFactoryInterface $resourceTypeHandlerFactory, $resourceType = 'model', array $scopeRequired = [], array $options = [])

Parameters

$providerKey
ResourceTypeHandlerFactoryInterface $resourceTypeHandlerFactory
$resourceType
array $scopeRequired
array $options

at line 47
authenticate(TokenInterface $token)

Parameters

TokenInterface $token

at line 86
supports(TokenInterface $token)

Parameters

TokenInterface $token