Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method | Description |
---|---|---|
ImpersonationToken |
UserApi.createImpersonationToken(Integer userId,
String name,
Date expiresAt,
ImpersonationToken.Scope[] scopes) |
Create an impersonation token.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
List<ImpersonationToken.Scope> |
ImpersonationToken.getScopes() |
Modifier and Type | Method | Description |
---|---|---|
void |
ImpersonationToken.setScopes(List<ImpersonationToken.Scope> scopes) |
Copyright © 2018. All rights reserved.