Package io.jenkins.plugins.googlegroupsoauth
package io.jenkins.plugins.googlegroupsoauth
-
ClassDescriptionResolves the user's direct Google Group memberships with the user's own OAuth access token, via the Cloud Identity API
GET /v1/groups/-/memberships:searchDirectGroups?query=member_key_id == '<email>'.Binds a Jenkins user record to the Google account that signs in with its email, and records when that account last signed in.Adds the "Sign in with Google" button to the standard Jenkins login page (core'slogin.jellyincludesloginFragment.jellyof every registeredFederatedLoginService).Hybrid security realm: sign in with Google OAuth (with the user's direct Google Group memberships — group emails — as Jenkins authorities) or with a local username and password.Profile claims extracted from the verified Google ID token, applied to the JenkinsUserrecord (display name, email property).What to do when the Google Groups lookup fails at login time (network error, HTTP 4xx/5xx, malformed response).Resolves the Google Groups a user belongs to.Generated localization support class.