Interface OAuth2AuthorizationSuccessHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handles when an OAuth 2.0 Client has been successfully authorized (or re-authorized)
 via the Authorization Server.
- Since:
- 5.3
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidonAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, Map<String, Object> attributes) Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the Authorization Server.
- 
Method Details- 
onAuthorizationSuccessvoid onAuthorizationSuccess(OAuth2AuthorizedClient authorizedClient, Authentication principal, Map<String, Object> attributes) Called when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the Authorization Server.- Parameters:
- authorizedClient- the client that was successfully authorized (or re-authorized)
- principal- the- Principalassociated with the authorized client
- attributes- an immutable- Mapof (optional) attributes present under certain conditions. For example, this might contain a- jakarta.servlet.http.HttpServletRequestand- jakarta.servlet.http.HttpServletResponseif the authorization was performed within the context of a- jakarta.servlet.ServletContext.
 
 
-