current_session {sbtools}R Documentation

Return current cached session

Description

Returns the currently cached SB session token. If there is no authenticated session, returns NULL. Emits a warning if the session has expired.

Usage

current_session()

Examples



session = current_session()
#null unless currently authenticated
session


[Package sbtools version 1.3.2 Index]