RotationResult

data class RotationResult(val newRecord: RefreshTokenService.RefreshTokenRecord?, val reuseDetected: Boolean)

Result of trying to use a refresh token.

  • newRecord is present when rotation succeeded and should be set as the new cookie value.

  • reuseDetected=true signals we saw an old/invalid token and revoked the session family.

Constructors

Link copied to clipboard
constructor(newRecord: RefreshTokenService.RefreshTokenRecord?, reuseDetected: Boolean)

Properties

Link copied to clipboard