Class UserPublicKeyRoute.Handler

java.lang.Object
io.jenkins.blueocean.ssh.UserPublicKeyRoute.Handler
Enclosing class:
UserPublicKeyRoute

public static class UserPublicKeyRoute.Handler extends Object
  • Constructor Details

    • Handler

      public Handler(io.jenkins.blueocean.rest.model.BlueUser user)
  • Method Details

    • 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: