Interface ClientRefreshToken

Refresh token configuration

Hierarchy

  • ClientRefreshToken

Properties

Refresh token expiration types, one of: expiring, non-expiring

idle_token_lifetime?: number

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

infinite_idle_token_lifetime?: boolean

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

infinite_token_lifetime?: boolean

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

leeway?: number

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

Refresh token rotation types, one of: rotating, non-rotating

token_lifetime?: number

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