isExpired

fun isExpired(threshold: Long): Boolean

Checks if the token is expired considering a threshold.

Return

True if the token is expired considering the threshold, false otherwise.

Parameters

threshold

The threshold in seconds.


Checks if the token is expired.