Package com.atlassian.bamboo.accesstoken
Interface AccessTokenAnalyticsService
-
@Internal public interface AccessTokenAnalyticsService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcountTokensWithPermission(@NotNull AccessTokenPermission accessTokenPermission)longgetAndResetBasicAuthenticationCount()longgetAndResetTokenAuthenticationCount()voidincrementBasicAuthenticationCount()Increment number of basic authentication attemptsvoidincrementTokenAuthenticationCount()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
AccessTokenwith given permission
-
-