Tabnine Logo
OAuth2$UserInfoMapping
Code IndexAdd Tabnine to your IDE (free)

How to use
OAuth2$UserInfoMapping
in
com.netflix.spinnaker.halyard.config.model.v1.security

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.security.OAuth2$UserInfoMapping (Showing top 4 results out of 315)

origin: com.netflix.spinnaker.halyard/halyard-cli

userInfoMapping.setEmail(isSet(userInfoMappingEmail) ? userInfoMappingEmail : userInfoMapping.getEmail()); 
userInfoMapping.setFirstName(isSet(userInfoMappingFirstName) ? userInfoMappingFirstName : userInfoMapping.getFirstName()); 
userInfoMapping.setLastName(isSet(userInfoMappingLastName) ? userInfoMappingLastName : userInfoMapping.getLastName()); 
userInfoMapping.setUsername(isSet(userInfoMappingUsername) ? userInfoMappingUsername : userInfoMapping.getUsername()); 
origin: spinnaker/halyard

  .setUseCurrentUri(client.getUseCurrentUri());
Resource newResource = new Resource();
UserInfoMapping newUserInfoMapping = new UserInfoMapping();
  newUserInfoMapping.setEmail("email");
  newUserInfoMapping.setFirstName("given_name");
  newUserInfoMapping.setLastName("family_name");
  break;
 case GITHUB:
  newUserInfoMapping.setEmail("email");
  newUserInfoMapping.setFirstName("");
  newUserInfoMapping.setLastName("name");
  newUserInfoMapping.setUsername("login");
  break;
 case ORACLE:
  newUserInfoMapping.setEmail("");
  newUserInfoMapping.setFirstName("given_name");
  newUserInfoMapping.setLastName("family_name");
  newUserInfoMapping.setUsername("preferred_username");
  break;
 case AZURE:
  newUserInfoMapping.setEmail("userPrincipalName");
  newUserInfoMapping.setFirstName("givenName");
  newUserInfoMapping.setLastName("surname");
  break;
 case OTHER:
origin: com.netflix.spinnaker.halyard/halyard-config

  .setUseCurrentUri(client.getUseCurrentUri());
Resource newResource = new Resource();
UserInfoMapping newUserInfoMapping = new UserInfoMapping();
  newUserInfoMapping.setEmail("email");
  newUserInfoMapping.setFirstName("given_name");
  newUserInfoMapping.setLastName("family_name");
  break;
 case GITHUB:
  newUserInfoMapping.setEmail("email");
  newUserInfoMapping.setFirstName("");
  newUserInfoMapping.setLastName("name");
  newUserInfoMapping.setUsername("login");
  break;
 case ORACLE:
  newUserInfoMapping.setEmail("");
  newUserInfoMapping.setFirstName("given_name");
  newUserInfoMapping.setLastName("family_name");
  newUserInfoMapping.setUsername("preferred_username");
  break;
 case AZURE:
  newUserInfoMapping.setEmail("userPrincipalName");
  newUserInfoMapping.setFirstName("givenName");
  newUserInfoMapping.setLastName("surname");
  break;
 case OTHER:
origin: spinnaker/halyard

userInfoMapping.setEmail(isSet(userInfoMappingEmail) ? userInfoMappingEmail : userInfoMapping.getEmail()); 
userInfoMapping.setFirstName(isSet(userInfoMappingFirstName) ? userInfoMappingFirstName : userInfoMapping.getFirstName()); 
userInfoMapping.setLastName(isSet(userInfoMappingLastName) ? userInfoMappingLastName : userInfoMapping.getLastName()); 
userInfoMapping.setUsername(isSet(userInfoMappingUsername) ? userInfoMappingUsername : userInfoMapping.getUsername()); 
com.netflix.spinnaker.halyard.config.model.v1.securityOAuth2$UserInfoMapping

Most used methods

  • getEmail
  • getFirstName
  • getLastName
  • getUsername
  • setEmail
  • setFirstName
  • setLastName
  • setUsername
  • <init>

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now