isPreemptivelyRefreshBeforeExpiry property

bool get isPreemptivelyRefreshBeforeExpiry

Determines if the interceptor should preemptively refresh the token before it expires.

Implementation

bool get isPreemptivelyRefreshBeforeExpiry =>
    authHandler.usesAuth &&
    authOptions.refreshTokenExecutionType ==
        RefreshTokenStrategy.preemptivelyRefreshBeforeExpiry;