JsonWebToken

package

Default

Methods

JsonWebToken constructor.

__construct(\KeyValueCollection $headers, \KeyValueCollection $payload) 
Throws
\JsonWebTokenException

Arguments

__toString

__toString() 

base64urlEncode

base64urlEncode( $input) 

Arguments

$input

getHeaders

getHeaders() 

getHeaderString

getHeaderString() 

getPayload

getPayload() 

getPayloadString

getPayloadString() 

makeSignature

makeSignature(\NonEmptyStringType $secret) 

Arguments

setHeaders

setHeaders(\KeyValueCollection $headers) 
Throws
\JsonWebTokenException

Arguments

setPayload

setPayload(\KeyValueCollection $payload) 

Arguments

setSecret

setSecret(\NonEmptyStringType $secret) 

Arguments

Properties

headers

headers : 

Type(s)

payload

payload : 

Type(s)

secret

secret : 

Type(s)