Auto

class Auto(val beforeExpiry: Duration = 30.seconds) : OidcTokenRefreshStrategy(source)

Refreshes the session automatically before it expires.

Refresh timing uses OidcToken.Id.claims. When the ID token has no exp claim, auto-refresh never triggers.

Report a problem

Constructors

Link copied to clipboard
constructor(beforeExpiry: Duration = 30.seconds)

Properties

Link copied to clipboard

how long before ID-token expiration the plugin should refresh the session.