Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Editor.Auth ←IAuthEditorSettings

UpdateEditorAccess

Set login access token information in one block (which matches how it's received)

Declaration​

void UpdateEditorAccess(string accessToken, int accessExpiresAt, string refreshToken, int refreshExpiresAt)

Summary​

Set login access token information in one block (which matches how it's received)

Parameters​

NameTypeSummary
accessTokenstring
the current valid access token
accessExpiresAtint
time when the access token expires
refreshTokenstring
token for refreshing the access token (if available)
refreshExpiresAtint
time when the refresh token expires