Class DefaultOAuth2AuthorizationRequestResolver

java.lang.Object
org.springframework.security.oauth2.client.web.DefaultOAuth2AuthorizationRequestResolver
All Implemented Interfaces:
OAuth2AuthorizationRequestResolver

public final class DefaultOAuth2AuthorizationRequestResolver extends Object implements OAuth2AuthorizationRequestResolver
An implementation of an OAuth2AuthorizationRequestResolver that attempts to resolve an OAuth2AuthorizationRequest from the provided HttpServletRequest using the default request URI pattern /oauth2/authorization/{registrationId}.

NOTE: The default base URI /oauth2/authorization may be overridden via it's constructor DefaultOAuth2AuthorizationRequestResolver(ClientRegistrationRepository, String).

Since:
5.1
See Also: