Interface SignedTokenLifetimes

All Known Implementing Classes:
RegisteredClientTokenLifetimes
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SignedTokenLifetimes
Port that tells how long the tokens signed with the signing keys stay valid, so that a retired key stays published for as long as any token it signed can still be presented.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds the longest lifetime of a signed token (an access or ID token) that any registered client can obtain.
  • Method Details

    • longest

      Duration longest()
      Finds the longest lifetime of a signed token (an access or ID token) that any registered client can obtain.
      Returns:
      the longest lifetime; never null and never negative.