login: Login to 4CastHub

View source: R/login.R

loginR Documentation

Login to 4CastHub

Description

This function is used to validate the two factor authentication of your 4CastHub user. If you select the checkbox 'Remember this device por 30 days', the login only needs to be done once every 30 days.

Usage

login(sleep_time = 90, ...)

Arguments

sleep_time

Maximum waiting for URI authentication

...

PARAM_DESCRIPTION

Value

A file with your authentication will be saved at your package location.

See Also

toJSON, fromJSON

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 faas4i::login()
 ## Once the url is printed, copy and paste it to your browser and follow with authentication
 }

## End(Not run)

4intelligence/faas4i documentation built on April 14, 2025, 2:09 a.m.