Documentation

TokenProviderInterface

Interface for TokenProviders.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

Table of Contents

Methods

createNewToken()  : mixed
Creates a new token.
deleteTokenBySeries()  : mixed
Deletes all tokens belonging to series.
loadTokenBySeries()  : PersistentTokenInterface
Loads the active token for the given series.
updateToken()  : mixed
Updates the token according to this data.

Methods

deleteTokenBySeries()

Deletes all tokens belonging to series.

public deleteTokenBySeries(string $series) : mixed
Parameters
$series : string

updateToken()

Updates the token according to this data.

public updateToken(string $series, string $tokenValue, DateTime $lastUsed) : mixed
Parameters
$series : string
$tokenValue : string
$lastUsed : DateTime
Tags
throws
TokenNotFoundException

if the token is not found


        
On this page

Search results