public class InstagramIdentityProvider extends AbstractOAuth2IdentityProvider implements SocialIdentityProvider
AbstractOAuth2IdentityProvider.EndpointIdentityProvider.AuthenticationCallback| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_URL |
static String |
DEFAULT_SCOPE |
static String |
LEGACY_ID_FIELD |
static String |
PROFILE_FIELDS |
static String |
PROFILE_URL |
static String |
TOKEN_URL |
ACCESS_DENIED, FEDERATED_REFRESH_TOKEN, FEDERATED_TOKEN_EXPIRATION, logger, mapper, OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE, OAUTH2_GRANT_TYPE_REFRESH_TOKEN, OAUTH2_PARAMETER_ACCESS_TOKEN, OAUTH2_PARAMETER_CLIENT_ID, OAUTH2_PARAMETER_CLIENT_SECRET, OAUTH2_PARAMETER_CODE, OAUTH2_PARAMETER_GRANT_TYPE, OAUTH2_PARAMETER_REDIRECT_URI, OAUTH2_PARAMETER_RESPONSE_TYPE, OAUTH2_PARAMETER_SCOPE, OAUTH2_PARAMETER_STATEACCOUNT_LINK_URL, sessionEXTERNAL_IDENTITY_PROVIDER, FEDERATED_ACCESS_TOKEN| Constructor and Description |
|---|
InstagramIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected BrokeredIdentityContext |
doGetFederatedIdentity(String accessToken) |
protected com.fasterxml.jackson.databind.JsonNode |
fetchUserProfile(String accessToken,
boolean includeIgId) |
protected String |
getDefaultScopes() |
asJsonNode, authenticateTokenRequest, authenticationFinished, buildUserInfoRequest, callback, createAuthorizationUrl, exchangeExternal, exchangeExternalComplete, exchangeExternalImpl, exchangeExternalUserInfoValidationOnly, exchangeFromToken, exchangeSessionToken, exchangeStoredToken, extractIdentityFromProfile, extractTokenFromResponse, generateToken, getAccessTokenResponseParameter, getConfig, getFederatedIdentity, getJsonProperty, getProfileEndpointForValidation, getSignatureContext, hasExternalExchangeToken, isIssuer, performLogin, retrieveToken, supportsExternalExchange, validateExternalTokenThroughUserInfobackchannelLogout, close, exchangeErrorResponse, exchangeNotLinked, exchangeNotLinkedNoStore, exchangeNotSupported, exchangeTokenExpired, exchangeUnsupportedRequiredType, export, getLinkingUrl, getMarshaller, importNewUser, keycloakInitiatedBrowserLogout, preprocessFederatedIdentity, updateBrokeredUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticationFinished, backchannelLogout, callback, export, getMarshaller, importNewUser, keycloakInitiatedBrowserLogout, performLogin, preprocessFederatedIdentity, retrieveToken, updateBrokeredUserpublic static final String AUTH_URL
public static final String TOKEN_URL
public static final String PROFILE_URL
public static final String PROFILE_FIELDS
public static final String DEFAULT_SCOPE
public static final String LEGACY_ID_FIELD
public InstagramIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
protected BrokeredIdentityContext doGetFederatedIdentity(String accessToken)
doGetFederatedIdentity in class AbstractOAuth2IdentityProviderprotected com.fasterxml.jackson.databind.JsonNode fetchUserProfile(String accessToken, boolean includeIgId) throws IOException
IOExceptionprotected String getDefaultScopes()
getDefaultScopes in class AbstractOAuth2IdentityProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.