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/~
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenShiftUserInfo.DescriptorImpl
static class
OpenShiftUserInfo.Metadata
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
email
OpenShiftUserInfo.Metadata
metadata
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Constructor Summary
Constructors Constructor Description OpenShiftUserInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEmail()
String
getName()
void
updateProfile(User u)
Updates the user information on Jenkins based on the information in this identity.-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure, setUser
-
-
-
-
Field Detail
-
metadata
public OpenShiftUserInfo.Metadata metadata
-
email
public String email
-
-
Method Detail
-
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
-
-