Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
ImpersonationToken |
UserApi.createImpersonationToken(Object userIdOrUsername,
String name,
Date expiresAt,
ImpersonationToken.Scope[] scopes)
Create an impersonation token.
|
Modifier and Type | Method and Description |
---|---|
static ImpersonationToken.Scope |
ImpersonationToken.Scope.forValue(String value) |
static ImpersonationToken.Scope |
ImpersonationToken.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImpersonationToken.Scope[] |
ImpersonationToken.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<ImpersonationToken.Scope> |
ImpersonationToken.getScopes() |
Modifier and Type | Method and Description |
---|---|
void |
ImpersonationToken.setScopes(List<ImpersonationToken.Scope> scopes) |
Copyright © 2019. All rights reserved.