Class AbstractOAuthClientAuthenticationStrategyDelegate

java.lang.Object
com.broadleafcommerce.auth.user.web.authentication.session.AbstractAuthenticationStrategyDelegate<org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken>
com.broadleafcommerce.auth.client.web.authentication.session.AbstractOAuthClientAuthenticationStrategyDelegate
All Implemented Interfaces:
AuthenticationStrategyDelegate
Direct Known Subclasses:
DefaultOIDCAuthenticationStrategyDelegate, GithubOAuthClientAuthenticationStrategyDelegate, GoogleOAuthClientAuthenticationStrategyDelegate

public abstract class AbstractOAuthClientAuthenticationStrategyDelegate extends AbstractAuthenticationStrategyDelegate<org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken>
Abstract AuthenticationStrategyDelegate for converting OAuth2AuthenticationToken to OAuth2UserDetails. This implements the #canHandle method to check that the ClientRegistration id from the token matches #getOAuthRegistrationType. This implementation offers reasonable defaults while allowing child classes to modify as needed. Child classes can simply implement #getOAuthRegistrationType to return the OAuth Client Registration id. Override methods to introduce specific behavior.
Author:
Cade Rea (cade-rea)