Table of Contents

Class ClientRefreshTokenConfiguration

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Refresh token configuration

[Serializable]
public record ClientRefreshTokenConfiguration : IJsonOnDeserialized, IEquatable<ClientRefreshTokenConfiguration>
Inheritance
ClientRefreshTokenConfiguration
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

ExpirationType

[JsonPropertyName("expiration_type")]
public required RefreshTokenExpirationTypeEnum ExpirationType { get; set; }

Property Value

RefreshTokenExpirationTypeEnum

IdleTokenLifetime

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

[JsonPropertyName("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)

[JsonPropertyName("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)

[JsonPropertyName("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

[JsonPropertyName("leeway")]
public int? Leeway { get; set; }

Property Value

int?

Policies

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

[JsonPropertyName("policies")]
public Optional<IEnumerable<ClientRefreshTokenPolicy>?> Policies { get; set; }

Property Value

Optional<IEnumerable<ClientRefreshTokenPolicy>>

RotationType

[JsonPropertyName("rotation_type")]
public required RefreshTokenRotationTypeEnum RotationType { get; set; }

Property Value

RefreshTokenRotationTypeEnum

TokenLifetime

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

[JsonPropertyName("token_lifetime")]
public int? TokenLifetime { get; set; }

Property Value

int?

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.