Modifier and Type | Method and Description |
---|---|
static AccessTokenPermission |
AccessTokenPermission.forName(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.
|
Set<AccessTokenPermission> |
MutableAccessTokenImpl.getPermissions() |
Set<AccessTokenPermission> |
CreateAccessTokenRequest.getPermissions() |
Set<AccessTokenPermission> |
AccessToken.getPermissions() |
Modifier and Type | Method and Description |
---|---|
long |
HibernateAccessTokenDao.countTokensWithPermission(AccessTokenPermission accessTokenPermission) |
long |
AccessTokenAnalyticsService.countTokensWithPermission(AccessTokenPermission accessTokenPermission) |
long |
AccessTokenDao.countTokensWithPermission(AccessTokenPermission accessTokenPermission)
Count number of access tokens with given permission
|
Modifier and Type | Method and Description |
---|---|
void |
MutableAccessTokenImpl.setPermissions(Iterable<AccessTokenPermission> permissions) |
void |
MutableAccessToken.setPermissions(Iterable<AccessTokenPermission> permissions)
Set token permissions
|
static void |
AccessTokenServiceUtils.validateRequestedPermissionsDependencies(Set<AccessTokenPermission> requestPermissions) |
Constructor and Description |
---|
CreateAccessTokenRequest(String name,
String userName,
Iterable<AccessTokenPermission> permissions) |
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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.