org.keycloak.social.github

## Class GitHubProvider

- java.lang.Object
- - org.keycloak.social.AbstractOAuth2Provider
  - - org.keycloak.social.github.GitHubProvider

- All Implemented Interfaces:
    SocialProvider

      public class GitHubProvider
      extends AbstractOAuth2Provider

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GitHubProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `getAuthUrl()`
    `String` | `getId()`
    `String` | `getName()`
    `protected SocialUser` | `getProfile(String accessToken)`
    `protected String` | `getScope()`
    `protected String` | `getTokenUrl()`

    - ### Methods inherited from class org.keycloak.social.AbstractOAuth2Provider

      `getAuthUrl, processCallback`

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

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

- - ### Constructor Detail

    - #### GitHubProvider

          public GitHubProvider()

  - ### Method Detail

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `SocialProvider`
      Specified by:
        `getId` in class `AbstractOAuth2Provider`

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `SocialProvider`
      Specified by:
        `getName` in class `AbstractOAuth2Provider`

    - #### getScope

          protected String getScope()

      Specified by:
        `getScope` in class `AbstractOAuth2Provider`

    - #### getAuthUrl

          protected String getAuthUrl()

      Specified by:
        `getAuthUrl` in class `AbstractOAuth2Provider`

    - #### getTokenUrl

          protected String getTokenUrl()

      Specified by:
        `getTokenUrl` in class `AbstractOAuth2Provider`

    - #### getProfile

          protected SocialUser getProfile(String accessToken)
                                   throws SocialProviderException

      Specified by:
        `getProfile` in class `AbstractOAuth2Provider`
      Throws:
        `SocialProviderException`

Copyright © 2014. All Rights Reserved.