Modifier and Type | Method and Description |
---|---|
static @Nullable AccessTokenPermission |
AccessTokenPermission.forName(@NotNull String name)
Return an access token permission type for the given name.
|
static AccessTokenPermission |
AccessTokenPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessTokenPermission[] |
AccessTokenPermission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<AccessTokenPermission> |
AccessTokenPermission.getDependencies()
A list of permissions which must also be granted to grant this permission.
|
Modifier and Type | Method and Description |
---|---|
long |
HibernateAccessTokenDao.countTokensWithPermission(@NotNull AccessTokenPermission accessTokenPermission) |
long |
AccessTokenAnalyticsService.countTokensWithPermission(@NotNull AccessTokenPermission accessTokenPermission) |
long |
AccessTokenDao.countTokensWithPermission(@NotNull AccessTokenPermission accessTokenPermission)
Count number of access tokens with given permission
|
Modifier and Type | Method and Description |
---|---|
PersonalAccessTokenCreationPage |
PersonalAccessTokenCreationPage.assertPermissionCheckboxState(AccessTokenPermission permission,
boolean isChecked,
boolean isEnabled) |
PersonalAccessTokenCreationPage |
PersonalAccessTokenCreationPage.checkPermissionCheckbox(AccessTokenPermission permission,
boolean checked) |
PersonalAccessTokenCreationPage |
PersonalAccessTokenCreationPage.withPermissions(AccessTokenPermission... permissions) |
Modifier and Type | Method and Description |
---|---|
RestAccessToken |
RestUserAccessTokenService.createAccessToken(String userName,
String tokenName,
Set<AccessTokenPermission> permissions) |
Modifier and Type | Method and Description |
---|---|
RestAccessToken |
UserControl.createAccessToken(String tokenName,
AccessTokenPermission... permissions) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences