org.keycloak.social.github

## Class GitHubUserAttributeMapper

- java.lang.Object
- - org.keycloak.broker.provider.AbstractIdentityProviderMapper
  - - org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper
    - - org.keycloak.social.github.GitHubUserAttributeMapper

- All Implemented Interfaces:
    IdentityProviderMapper, ConfiguredProvider, Provider, ProviderFactory<IdentityProviderMapper>

      public class GitHubUserAttributeMapper
      extends AbstractJsonUserAttributeMapper

  User attribute mapper.
  Author:
    Vlastimil Elias (velias at redhat dot com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `PROVIDER_ID`

    - ### Fields inherited from class org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper

      `CONF_JSON_FIELD, CONF_USER_ATTRIBUTE, CONTEXT_JSON_NODE, logger, LOGGER_DUMP_USER_PROFILE`

    - ### Fields inherited from interface org.keycloak.broker.provider.IdentityProviderMapper

      `ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GitHubUserAttributeMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getCompatibleProviders()`
    `String` | `getId()`

    - ### Methods inherited from class org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper

      `getConfigProperties, getDisplayCategory, getDisplayType, getHelpText, getJsonValue, getJsonValue, preprocessFederatedIdentity, storeUserProfileForMapper, supportsSyncMode, updateBrokeredUser, updateBrokeredUserLegacy`

    - ### Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderMapper

      `close, create, importNewUser, init, postInit`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `order`

- - ### Field Detail

    - #### PROVIDER_ID

          public static final String PROVIDER_ID

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### GitHubUserAttributeMapper

          public GitHubUserAttributeMapper()

  - ### Method Detail

    - #### getCompatibleProviders

          public String[] getCompatibleProviders()

    - #### getId

          public String getId()

Copyright © 2021 JBoss by Red Hat. All rights reserved.