Back to Node Auth0

Interface ClientRefreshTokenConfiguration

docs/interfaces/management.Management.ClientRefreshTokenConfiguration.html

5.9.13.2 KB
Original Source

Interface ClientRefreshTokenConfiguration

Refresh token configuration

interface ClientRefreshTokenConfiguration {
rotation_type: Management.RefreshTokenRotationTypeEnum;
expiration_type: Management.RefreshTokenExpirationTypeEnum;
leeway?: number;
token_lifetime?: number;
infinite_token_lifetime?: boolean;
idle_token_lifetime?: number;
infinite_idle_token_lifetime?: boolean;
policies?: ClientRefreshTokenPolicy[] | null;
}

Index

Properties

rotation_typeexpiration_typeleeway?token_lifetime?infinite_token_lifetime?idle_token_lifetime?infinite_idle_token_lifetime?policies?

Properties

rotation_type

rotation_type: Management.RefreshTokenRotationTypeEnum

expiration_type

expiration_type: Management.RefreshTokenExpirationTypeEnum

Optionalleeway

leeway?: number

Period in seconds where the previous refresh token can be exchanged without triggering breach detection

Optionaltoken_lifetime

token_lifetime?: number

Period (in seconds) for which refresh tokens will remain valid

Optionalinfinite_token_lifetime

infinite_token_lifetime?: boolean

Prevents tokens from having a set lifetime when true (takes precedence over token_lifetime values)

Optionalidle_token_lifetime

idle_token_lifetime?: number

Period (in seconds) for which refresh tokens will remain valid without use

Optionalinfinite_idle_token_lifetime

infinite_idle_token_lifetime?: boolean

Prevents tokens from expiring without use when true (takes precedence over idle_token_lifetime values)

Optionalpolicies

policies?: ClientRefreshTokenPolicy[] | null

A collection of policies governing multi-resource refresh token exchange (MRRT), defining how refresh tokens can be used across different resource servers

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties rotation_typeexpiration_typeleewaytoken_lifetimeinfinite_token_lifetimeidle_token_lifetimeinfinite_idle_token_lifetimepolicies