Uses of Class
org.gitlab4j.api.models.SshKey
Package | Description |
---|---|
org.gitlab4j.api |
-
Uses of SshKey in org.gitlab4j.api
Methods in org.gitlab4j.api that return SshKey Modifier and Type Method 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.Methods in org.gitlab4j.api that return types with arguments of type SshKey Modifier and Type Method 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.