class GetAccessTokenResource extends ResourceBase

Provides a resource to get view modes by entity and bundle.

Properties

protected AuthenticationService $authenticationService

The authentication service, used to handle all kinds of auth stuff.

Methods

static 
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)

{@inheritdoc}

ResourceResponse
get()

Return the current users access token.

Details

at line 32
static create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)

{@inheritdoc}

Parameters

ContainerInterface $container
array $configuration
$plugin_id
$plugin_definition

at line 47
ResourceResponse get()

Return the current users access token.

Return Value

ResourceResponse

The HTTP response object.

Exceptions

TempStoreException
IdentityProviderException