Methods
JsonWebToken constructor.
__construct(\KeyValueCollection $headers, \KeyValueCollection $payload)
|
|
Throws |
- \JsonWebTokenException
|
Arguments
base64urlEncode
base64urlEncode( $input)
getPayloadString
getPayloadString()
isIncludeSecretInSignaturePayload
isIncludeSecretInSignaturePayload() : boolean
isUseRawHmacForSignature
isUseRawHmacForSignature() : boolean
makeSignature
makeSignature(\NonEmptyStringType $secret)
setIncludeSecretInSignaturePayload
setIncludeSecretInSignaturePayload(boolean $includeSecretInSignaturePayload)
Arguments
$includeSecretInSignaturePayload
boolean
setPayload
setPayload(\KeyValueCollection $payload)
setSecret
setSecret(\NonEmptyStringType $secret)
setUseRawHmacForSignature
setUseRawHmacForSignature(boolean $useRawHmacForSignature)
Arguments
$useRawHmacForSignature
boolean
Properties
secret
secret : \NonEmptyStringType
includeSecretInSignaturePayload
includeSecretInSignaturePayload : boolean
useRawHmacForSignature
useRawHmacForSignature : boolean