class TokenProvider

Class TokenProvider

Methods

__construct( RequestStack $requestStack, TranslatorInterface $translator, $tokenName)

No description

string
assignToken()

No description

bool
checkToken($entryValue)

No description

string
getToken()

No description

static  string
generateToken()

Same method as getToken but can be called statically

Details

at line 57
__construct( RequestStack $requestStack, TranslatorInterface $translator, $tokenName)

Parameters

RequestStack $requestStack
TranslatorInterface $translator
$tokenName

at line 73
string assignToken()

Return Value

string

at line 89
bool checkToken($entryValue)

Parameters

$entryValue

Return Value

bool

Exceptions

TokenAuthenticationException

at line 117
string getToken()

Return Value

string

at line 127
static string generateToken()

Same method as getToken but can be called statically

Return Value

string