Sign in

Type: GetTokensOptions

Options used to control token retrieval and refresh behavior when calling getTokens().

Properties

PropertyTypeDescription
forceRefresh?booleanWhen true, forces a refresh of the access token even if the current token has not expired.
refetchUserInfo?booleanWhen enabled, refetches user information from the UserInfo endpoint after tokens are refreshed.
resource?stringSpace-separated list of resource indicators that the new access token should be issued for. The requested resources must have been previously granted during the original authorization flow.
scopes?stringSpace-separated list of scopes to request for the refreshed access token. The requested scopes must have been granted during the original authorization flow.
© 2024 MonoCloud. All rights reserved.