Class PurgeClientAssertionsUseCase

java.lang.Object
com.irurueta.authserver.authorization.application.clientauth.PurgeClientAssertionsUseCase

@Service @Transactional public class PurgeClientAssertionsUseCase extends Object
Deletes the identifiers of the client assertions that already expired.
  • Field Details

    • registry

      private final ClientAssertionReplayRegistry registry
      Port that remembers the accepted assertions.
    • clock

      private final Clock clock
      Source of the current time.
  • Constructor Details

    • PurgeClientAssertionsUseCase

      public PurgeClientAssertionsUseCase()
  • Method Details

    • execute

      public int execute()
      Runs the purge.
      Returns:
      the number of identifiers removed.