Class GenerateApiKeyEvent

java.lang.Object
overit.geocall.bl.GenericEvent<BOApiKey>
overit.geocall.bl.BusinessEvent<BOApiKey>
overit.geocall.basic.bl.auth.event.GenerateApiKeyEvent

public class GenerateApiKeyEvent extends BusinessEvent<BOApiKey>
It generate a new Api Key token. The Api Key will be add to AAPIKEY table, Redis cache and return back.
Since:
10.0
  • Constructor Details

    • GenerateApiKeyEvent

      public GenerateApiKeyEvent(BOApiKey boApiKey)
      Create a new event that will be called to generate a new Api Key for the user passed as parameter
      Parameters:
      boApiKey - the user object
  • Method Details

    • getBoApiKey

      public BOApiKey getBoApiKey()