public class AddSshKey extends java.lang.Object implements RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
Modifier and Type | Method and Description |
---|---|
Response<SshKeyInfo> |
apply(AccountResource rsrc,
SshKeyInput input) |
Response<SshKeyInfo> |
apply(IdentifiedUser user,
SshKeyInput input) |
public Response<SshKeyInfo> apply(AccountResource rsrc, SshKeyInput input) throws AuthException, BadRequestException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
apply
in interface RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
AuthException
BadRequestException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
public Response<SshKeyInfo> apply(IdentifiedUser user, SshKeyInput input) throws BadRequestException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
BadRequestException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException