HeaderChecker
in
Table of Contents
Methods
- checkHeader() : void
- This method is called when the header parameter is present.
- protectedHeaderOnly() : bool
- When true, the header parameter to be checked MUST be set in the protected header of the token.
- supportedHeader() : string
- The method returns the header parameter to be checked.
Methods
checkHeader()
This method is called when the header parameter is present.
public
checkHeader(mixed $value) : void
If for some reason the value is not valid, an InvalidHeaderException must be thrown.
Parameters
- $value : mixed
Tags
protectedHeaderOnly()
When true, the header parameter to be checked MUST be set in the protected header of the token.
public
protectedHeaderOnly() : bool
Return values
boolsupportedHeader()
The method returns the header parameter to be checked.
public
supportedHeader() : string