check_access_token: Check if authentication has been made

View source: R/api.R

check_access_tokenR Documentation

Check if authentication has been made

Description

If a call to get_access_token() has been made then it will have generated mrbase.oauth. Pass the token if it is present, if not, return NULL and do not authenticate.

Usage

check_access_token()

Value

NULL or access_token depending on current authentication state


MRCIEU/ieugwasr documentation built on June 22, 2022, 3:49 a.m.