Skip to contents

Returns the payload if the signature is valid and the token has not expired; otherwise NULL (never throws).

Usage

aurora_jwt_decode(auth, token)

Arguments

auth

An aurora_auth_jwt() scheme.

token

The token string (e.g. request$cookies$token).

Value

The decoded payload list, or NULL.