Class PublicRefreshOAuth2AuthorizationCodeAuthenticationProvider.OAuth2AuthenticationProviderUtils
java.lang.Object
com.broadleafcommerce.auth.authorization.security.spring.PublicRefreshOAuth2AuthorizationCodeAuthenticationProvider.OAuth2AuthenticationProviderUtils
- Enclosing class:
- PublicRefreshOAuth2AuthorizationCodeAuthenticationProvider
public static class PublicRefreshOAuth2AuthorizationCodeAuthenticationProvider.OAuth2AuthenticationProviderUtils
extends Object
Copy of the class of the same name from Spring. Package protection precludes access from its
original location.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
getAuthenticatedClientElseThrowInvalidClient
(org.springframework.security.core.Authentication authentication) static <T extends org.springframework.security.oauth2.core.OAuth2Token>
org.springframework.security.oauth2.server.authorization.OAuth2Authorizationinvalidate
(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization, T token)
-
Method Details
-
getAuthenticatedClientElseThrowInvalidClient
public static org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken getAuthenticatedClientElseThrowInvalidClient(org.springframework.security.core.Authentication authentication) -
invalidate
public static <T extends org.springframework.security.oauth2.core.OAuth2Token> org.springframework.security.oauth2.server.authorization.OAuth2Authorization invalidate(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization, T token)
-