Class OpenShiftUserInfo

java.lang.Object
hudson.model.UserProperty
org.openshift.jenkins.plugins.openshiftlogin.OpenShiftUserInfo
All Implemented Interfaces:
ExtensionPoint, Describable<UserProperty>, ReconfigurableDescribable<UserProperty>

public class OpenShiftUserInfo extends UserProperty
Represents an identity information from the oauth provider. This is from https://SERVER/oapi/v1/user/~
  • Field Details

  • Constructor Details

    • OpenShiftUserInfo

      public OpenShiftUserInfo()
  • Method Details

    • getEmail

      public String getEmail()
    • getName

      public String getName()
    • updateProfile

      public void updateProfile(User u) throws IOException
      Updates the user information on Jenkins based on the information in this identity.
      Throws:
      IOException