Skip to contents

Validates ICA access token by parsing it and checking its expiration date.

Usage

ica_token_validate(token = Sys.getenv("ICA_ACCESS_TOKEN"))

Arguments

token

ICA access token (def: $ICA_ACCESS_TOKEN env var).

Value

Returns the token if valid, or else errors out.