Learn R Programming

valdr (version 2.0.0)

is_token_valid: Check if JWT access token is expired

Description

Check if JWT access token is expired

Usage

is_token_valid(token)

Value

A logical scalar (TRUE or FALSE) indicating whether the provided JWT access token is still valid based on its expiry timestamp. Internal function (not designed to be used directly by end users)

Arguments

token

A JWT access token