SecretToken
class SecretToken implements HeaderProcessor
Representation for secret token
Constants
HEADER_NAME |
Header name that contains our secret token |
Methods
__construct($token)
SecretToken constructor.
bool
isHeaderPresent()
No description
string
getHeaderValue()
No description
bool|void
verify(bool $failSilent = false)
Verify token
Details
at line 31
__construct($token)
SecretToken constructor.
at line 39
bool
isHeaderPresent()
at line 47
string
getHeaderValue()
at line 60
bool|void
verify(bool $failSilent = false)
Verify token