A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec. Client - Class JWTExceptionWithPayloadInterface (7.2.1)

Reference documentation and code samples for the A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec. Client class JWTExceptionWithPayloadInterface.

Classes which implement this interface in this package:

Namespace

Firebase \ JWT

Methods

getPayload

Get the payload that caused this exception.

Returns
Type Description
object

setPayload

Get the payload that caused this exception.

Parameter
Name Description
payload object
Returns
Type Description
void