Skip to contents

xMart API tokens are short-term tokens that last for 60 minutes after generation. This returns time until token expires. You should only need this if you are manually managing token generation, which is not recommended.

Usage

xmart4_token_time(token)

Arguments

token

Access token for xMart4 server. If NULL (the default), the package automatically creates and manages access for the user if Azure client ID and secret set up properly. See vignette("token_setup") for instructions and details.

Value

Time left until token expiration