Skip to main content
API Reference NianticSpatial.NSDK.AR.Utilities.Auth

AuthPublicUtils

Static class for auth-related utility functions that are shared as part of the public API

Declaration

public static class AuthPublicUtils

Methods

NameTypeSummary
static ExpiresAtint
Get the expiry time of a JWT token in seconds.
static IsEmptyOrExpiringbool
Is the token expired, about to expire, or not set?
static LogTokenvoid
Log details for a single Jwt token.
Shows the context, token tail (truncated to the last four elements), and time left in seconds.