Package | Description |
---|---|
org.gitlab4j.api.utils |
Modifier and Type | Method and Description |
---|---|
static AccessTokenUtils.Scope |
AccessTokenUtils.Scope.forValue(String value) |
static AccessTokenUtils.Scope |
AccessTokenUtils.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessTokenUtils.Scope[] |
AccessTokenUtils.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
AccessTokenUtils.createPersonalAccessToken(String baseUrl,
String username,
String password,
String tokenName,
AccessTokenUtils.Scope[] scopes)
Create a GitLab personal access token with the provided configuration.
|
static void |
AccessTokenUtils.revokePersonalAccessToken(String baseUrl,
String username,
String password,
String tokenName,
AccessTokenUtils.Scope[] scopes)
Revoke the first matching GitLab personal access token.
|
Modifier and Type | Method and Description |
---|---|
static String |
AccessTokenUtils.createPersonalAccessToken(String baseUrl,
String username,
String password,
String tokenName,
List<AccessTokenUtils.Scope> scopes)
Create a GitLab personal access token with the provided configuration.
|
static void |
AccessTokenUtils.revokePersonalAccessToken(String baseUrl,
String username,
String password,
String tokenName,
List<AccessTokenUtils.Scope> scopes)
Revoke the first matching GitLab personal access token.
|
Copyright © 2019. All rights reserved.