session_validate: Validate sbtools session state

View source: R/current_session.R

session_validateR Documentation

Validate sbtools session state

Description

A session is considered valid if it is NULL or a true, non-expired SB session

Usage

session_validate()

Details

This function only operates on the active initialized session.

Value

TRUE/FALSE indicating if session is valid and can be used. Returns TRUE if session is NULL as well.


USGS-R/sbtools documentation built on June 1, 2024, 9:47 p.m.