Package com.atlassian.bamboo.accesstoken
Interface AccessTokenAnalyticsService
-
@Internal public interface AccessTokenAnalyticsService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
countTokensWithPermission(@NotNull AccessTokenPermission accessTokenPermission)
long
getAndResetBasicAuthenticationCount()
long
getAndResetTokenAuthenticationCount()
void
incrementBasicAuthenticationCount()
Increment number of basic authentication attemptsvoid
incrementTokenAuthenticationCount()
Increment number of token authentication attempts
-
-
-
Method Detail
-
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
-
-