Package io.jenkins.blueocean.ssh
Class UserPublicKeyRoute.Handler
java.lang.Object
io.jenkins.blueocean.ssh.UserPublicKeyRoute.Handler
- Enclosing class:
- UserPublicKeyRoute
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets or creates the user's private Jenkins-managed key and returns the public key to the userDeletes the user's private Jenkins-managed key
-
Constructor Details
-
Handler
public Handler(io.jenkins.blueocean.rest.model.BlueUser user)
-
-
Method Details
-
getPublickey
Gets or creates the user's private Jenkins-managed key and returns the public key to the user- Returns:
- JSON response
-
resetPublicKey
Deletes the user's private Jenkins-managed key- Returns:
-