phpDocumentor

AuthToken
in package

Class representing a token code value object

Table of Contents

EXPECTED_LENGTH  = 6
Valid token length
$token  : string
Token value
code()  : string
Return the token value
withCode()  : AuthToken
Create an instance with the provided token
__construct()  : mixed
Create instance

Constants

EXPECTED_LENGTH

Valid token length

public mixed EXPECTED_LENGTH = 6

Properties

Methods

code()

Return the token value

public code() : string
Return values
string

token value

Search results