check_all_claims: This function checks that all claims passed in the 'claims'...

Description Usage Arguments Value

View source: R/utils_jwt.R

Description

This function checks that all claims passed in the claims argument of the is_authed_jwt function are correct.

Usage

1
check_all_claims(payload, claims)

Arguments

payload

JWT payload extracted with jose::jwt_decode_hmac.

claims

named list of claims to check in the JWT. Claims can be nested.

Value

TRUE if the all claims are present in the JWT, FALSE if not.


jandix/sealr documentation built on Oct. 3, 2021, 1:16 p.m.