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

ExpiresAt

Get the expiry time of a JWT token in seconds.

Declaration​

public static int ExpiresAt(string token)

Summary​

Get the expiry time of a JWT token in seconds.

Returns​

the expiry time or 0 if the token cannot be parsed

Parameters​

NameTypeSummary
tokenstring
the token