Class RefreshToken
- Namespace
- Auth0.ManagementApi.Models
- Assembly
- Auth0.ManagementApi.dll
Represents configuration of refresh tokens for a client.
public class RefreshToken
- Inheritance
-
RefreshToken
- Inherited Members
Properties
ExpirationType
Refresh token expiration type
[JsonProperty("expiration_type")]
[JsonConverter(typeof(StringEnumConverter))]
public RefreshTokenExpirationType ExpirationType { get; set; }
Property Value
IdleTokenLifetime
Period (in seconds) for which refresh tokens will remain valid without use
[JsonProperty("idle_token_lifetime")]
public int? IdleTokenLifetime { get; set; }
Property Value
- int?
InfiniteIdleTokenLifetime
Prevents tokens from expiring without use when true (takes precedence over idle_token_lifetime values)
[JsonProperty("infinite_idle_token_lifetime")]
public bool? InfiniteIdleTokenLifetime { get; set; }
Property Value
- bool?
InfiniteTokenLifetime
Prevents tokens from having a set lifetime when true (takes precedence over token_lifetime values)
[JsonProperty("infinite_token_lifetime")]
public bool? InfiniteTokenLifetime { get; set; }
Property Value
- bool?
Leeway
Period in seconds where the previous refresh token can be exchanged without triggering breach detection
[JsonProperty("leeway")]
public int? Leeway { get; set; }
Property Value
- int?
RotationType
Refresh token rotation type
[JsonProperty("rotation_type")]
[JsonConverter(typeof(StringEnumConverter))]
public RefreshTokenRotationType RotationType { get; set; }
Property Value
TokenLifetime
Period (in seconds) for which refresh tokens will remain valid
[JsonProperty("token_lifetime")]
public int? TokenLifetime { get; set; }
Property Value
- int?