IProvider
in
Tags
Table of Contents
Methods
- getToken() : IToken
- Get a token by token string id
- invalidateTokensOfUser() : void
- invalidates all tokens of a specific user if a client name is given only tokens of that client will be invalidated
Methods
getToken()
Get a token by token string id
public
getToken(string $tokenId) : IToken
Parameters
- $tokenId : string
Tags
Return values
ITokeninvalidateTokensOfUser()
invalidates all tokens of a specific user if a client name is given only tokens of that client will be invalidated
public
invalidateTokensOfUser(string $uid, string|null $clientName) : void
Parameters
- $uid : string
- $clientName : string|null