Class UserPublicKeyRoute.Handler

    • Constructor Detail

      • Handler

        public Handler​(io.jenkins.blueocean.rest.model.BlueUser user)
    • 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: