Class GoogleUserInfo
java.lang.Object
io.jenkins.plugins.googlegroupsoauth.GoogleUserInfo
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class GoogleUserInfo
extends Object
Profile claims extracted from the verified Google ID token, applied to the Jenkins
User record (display name, email property).-
Constructor Summary
ConstructorsConstructorDescriptionGoogleUserInfo(com.google.api.client.googleapis.auth.oauth2.GoogleIdToken.Payload payload) -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getName()Google's stable account id (thesubclaim); unlike the email it is never reassigned.voidupdateProfile(User user)
-
Constructor Details
-
GoogleUserInfo
public GoogleUserInfo(@NonNull com.google.api.client.googleapis.auth.oauth2.GoogleIdToken.Payload payload)
-
-
Method Details
-
getSubject
Google's stable account id (thesubclaim); unlike the email it is never reassigned. -
getEmail
-
getName
-
updateProfile
- Throws:
IOException
-