Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
SshKey |
UserApi.addSshKey(Integer userId,
String title,
String key)
Create new key owned by specified user.
|
SshKey |
UserApi.addSshKey(String title,
String key)
Creates a new key owned by the currently authenticated user.
|
SshKey |
UserApi.getSshKey(Integer keyId)
Get a single SSH Key.
|
Modifier and Type | Method and Description |
---|---|
Optional<SshKey> |
UserApi.getOptionalSshKey(Integer keyId)
Get a single SSH Key as an Optional instance.
|
List<SshKey> |
UserApi.getSshKeys()
Get a list of currently authenticated user's SSH keys.
|
List<SshKey> |
UserApi.getSshKeys(Integer userId)
Get a list of a specified user's SSH keys.
|
Copyright © 2019. All rights reserved.