isExpiredAt
Check if a credential is expired at a specific time.
Example:
val checkTime = Clock.System.now().plus(30.days)
if (credential.isExpiredAt(checkTime)) {
println("Credential will be expired at $checkTime")
}Content copied to clipboard
Return
True if the earliest of expirationDate/validUntil is before the given instant
Parameters
instant
The instant to check expiration against