ITokenFactory
in
Table of Contents
- decode() : stdClass
- Decodes recieved token
- generateToken() : string
- Creates token for specific $user
Methods
decode()
Decodes recieved token
public
decode(string $userToken) : stdClass
Parameters
- $userToken : string
Tags
Return values
stdClass —generateToken()
Creates token for specific $user
public
generateToken(User $user) : string
Parameters
- $user : User