check_authentication: Check authentication with the IUROPA API

View source: R/authentication_functions.R

check_authenticationR Documentation

Check authentication with the IUROPA API

Description

This function checks whether you are currently authenticated with the IUROPA API. You need to provide an object of class iuropa_session created by the function authenticate().

Usage

check_authentication(session)

Arguments

session

An object of class iuropa_session created by authenticate().

Value

This function prints a message to the console but does not return an object.

Examples

## Not run: 
session <- authenticate(
  username = "USERNAME",
  password = "PASSWORD"
)

check_authentication(session)
## End(Not run)


jfjelstul/iuropa documentation built on July 25, 2024, 4:11 p.m.