retrieve_cja_token: Retrieve a token

View source: R/auth.R

retrieve_cja_tokenR Documentation

Retrieve a token

Description

Updates (if necessary) and returns a session token. This function first checks for a session token, then for a cached token, and, finally, generates a new token. The default type may be set for the session with cja_auth_with().

Usage

retrieve_cja_token(...)

Arguments

...

Further arguments passed to auth functions

Value

A token object of type response (JWT) or Token2.0 (OAuth)


searchdiscovery/cjar documentation built on Jan. 20, 2025, 6:23 p.m.