Learn R Programming

valdr (version 1.0.1)

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.

Arguments

token

A JWT access token