Interface TokensManagement.TokenExpirationListener

  • Enclosing interface:
    TokensManagement

    public static interface TokensManagement.TokenExpirationListener
    Receives notifications about expired tokens.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void tokenExpired​(pl.edu.icm.unity.base.token.Token token)
      Invoked just before removing the token from the database, it is guaranteed to be expired.
    • Method Detail

      • tokenExpired

        void tokenExpired​(pl.edu.icm.unity.base.token.Token token)
        Invoked just before removing the token from the database, it is guaranteed to be expired. Important: the method should return quickly, and must not manipulate DB.