Package org.keycloak.social.linkedin
Class LinkedInIdentityProvider
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProvider<C>
org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
org.keycloak.social.linkedin.LinkedInIdentityProvider
- All Implemented Interfaces:
ExchangeExternalToken
,ExchangeTokenToIdentityProviderToken
,IdentityProvider<OAuth2IdentityProviderConfig>
,SocialIdentityProvider<OAuth2IdentityProviderConfig>
,Provider
@Deprecated
public class LinkedInIdentityProvider
extends AbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
implements SocialIdentityProvider<OAuth2IdentityProviderConfig>
Deprecated.
LinkedIn social provider. See https://developer.linkedin.com/docs/oauth2
- Author:
- Vlastimil Elias (velias at redhat dot com)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider
AbstractOAuth2IdentityProvider.Endpoint
Nested classes/interfaces inherited from interface org.keycloak.broker.provider.IdentityProvider
IdentityProvider.AuthenticationCallback
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.Fields inherited from class org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider
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_STATE
Fields inherited from class org.keycloak.broker.provider.AbstractIdentityProvider
ACCOUNT_LINK_URL, session
Fields inherited from interface org.keycloak.broker.provider.IdentityProvider
EXTERNAL_IDENTITY_PROVIDER, FEDERATED_ACCESS_TOKEN
-
Constructor Summary
ConstructorDescriptionLinkedInIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected BrokeredIdentityContext
doGetFederatedIdentity
(String accessToken) Deprecated.protected BrokeredIdentityContext
extractIdentityFromProfile
(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile) Deprecated.protected String
Deprecated.protected String
Deprecated.protected boolean
Deprecated.Methods inherited from class org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider
asJsonNode, authenticateTokenRequest, authenticationFinished, buildUserInfoRequest, callback, createAuthorizationUrl, exchangeExternal, exchangeExternalComplete, exchangeExternalImpl, exchangeExternalUserInfoValidationOnly, exchangeFromToken, exchangeSessionToken, exchangeStoredToken, extractTokenFromResponse, generateToken, getAccessTokenResponseParameter, getConfig, getFederatedIdentity, getJsonProperty, getSignatureContext, hasExternalExchangeToken, isIssuer, performLogin, retrieveToken, validateExternalTokenThroughUserInfo
Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProvider
backchannelLogout, close, exchangeErrorResponse, exchangeNotLinked, exchangeNotLinkedNoStore, exchangeNotSupported, exchangeTokenExpired, exchangeUnsupportedRequiredType, export, getLinkingUrl, getMarshaller, importNewUser, keycloakInitiatedBrowserLogout, preprocessFederatedIdentity, updateBrokeredUser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.broker.provider.IdentityProvider
authenticationFinished, backchannelLogout, callback, export, getConfig, getMarshaller, importNewUser, isMapperSupported, keycloakInitiatedBrowserLogout, performLogin, preprocessFederatedIdentity, retrieveToken, updateBrokeredUser
-
Field Details
-
AUTH_URL
Deprecated.- See Also:
-
TOKEN_URL
Deprecated.- See Also:
-
PROFILE_URL
Deprecated.- See Also:
-
EMAIL_URL
Deprecated.- See Also:
-
EMAIL_SCOPE
Deprecated.- See Also:
-
DEFAULT_SCOPE
Deprecated.- See Also:
-
-
Constructor Details
-
LinkedInIdentityProvider
Deprecated.
-
-
Method Details
-
supportsExternalExchange
protected boolean supportsExternalExchange()Deprecated.- Overrides:
supportsExternalExchange
in classAbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
-
getProfileEndpointForValidation
Deprecated.- Overrides:
getProfileEndpointForValidation
in classAbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
-
extractIdentityFromProfile
protected BrokeredIdentityContext extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile) Deprecated.- Overrides:
extractIdentityFromProfile
in classAbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
-
doGetFederatedIdentity
Deprecated.- Overrides:
doGetFederatedIdentity
in classAbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
-
getDefaultScopes
Deprecated.- Specified by:
getDefaultScopes
in classAbstractOAuth2IdentityProvider<OAuth2IdentityProviderConfig>
-