Package io.jenkins.blueocean.ssh
Class UserPublicKeyRoute.Handler
- java.lang.Object
-
- io.jenkins.blueocean.ssh.UserPublicKeyRoute.Handler
-
- Enclosing class:
- UserPublicKeyRoute
public static class UserPublicKeyRoute.Handler extends Object
-
-
Constructor Summary
Constructors Constructor Description Handler(io.jenkins.blueocean.rest.model.BlueUser user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserKey
getPublickey()
Gets or creates the user's private Jenkins-managed key and returns the public key to the userUserKey
resetPublicKey()
Deletes the user's private Jenkins-managed key
-
-
-
Method Detail
-
getPublickey
@GET @WebMethod(name="") public UserKey getPublickey()
Gets or creates the user's private Jenkins-managed key and returns the public key to the user- Returns:
- JSON response
-
resetPublicKey
@DELETE @WebMethod(name="") public UserKey resetPublicKey()
Deletes the user's private Jenkins-managed key- Returns:
-
-