Class RegisterClientAssertionUseCase

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

@Service @Transactional public class RegisterClientAssertionUseCase extends Object
Records the use of a client assertion and tells whether it is a replay.
  • Field Details

  • Constructor Details

    • RegisterClientAssertionUseCase

      public RegisterClientAssertionUseCase()
  • Method Details

    • execute

      public boolean execute(ClientAssertionUse use)
      Registers the use of an assertion.
      Parameters:
      use - the client, identifier and expiry of the assertion.
      Returns:
      true when this is the first use of the assertion, false when it was already used.