phpDocumentor

JsonWebTokenAuthenticator
in package
implements JsonWebTokenAuthenticator

Class JsonWebTokenAuthenticator

Interfaces, Classes and Traits

JsonWebTokenAuthenticator
Interface JsonWebTokenAuthenticator

Table of Contents

$repository  : JsonWebTokenRepository
__construct()  : mixed
JsonWebTokenAuthenticator constructor.
authenticate()  : UserId
Authenticates based on the provided JSON web token and returns his ID.

Properties

Methods

authenticate()

Authenticates based on the provided JSON web token and returns his ID.

public authenticate(string $token) : UserId
Parameters
$token : string
Tags
inheritDoc
Return values
UserId

Search results