Interface AccessTokenAnalyticsService


@Internal public interface AccessTokenAnalyticsService
  • Method Details

    • incrementBasicAuthenticationCount

      void incrementBasicAuthenticationCount()
      Increment number of basic authentication attempts
    • incrementTokenAuthenticationCount

      void incrementTokenAuthenticationCount()
      Increment number of token authentication attempts
    • getAndResetBasicAuthenticationCount

      long getAndResetBasicAuthenticationCount()
      Returns:
      number of basic authentication attempts and set counter to 0
    • getAndResetTokenAuthenticationCount

      long getAndResetTokenAuthenticationCount()
      Returns:
      number of token authentication attempts and set counter to 0
    • countTokensWithPermission

      long countTokensWithPermission(@NotNull @NotNull AccessTokenPermission accessTokenPermission)
      Parameters:
      accessTokenPermission -
      Returns:
      number of AccessToken with given permission