Class OAuth2LoginAuthenticationFilter
java.lang.Object
com.codename1.backend.security.OAuth2LoginAuthenticationFilter
- All Implemented Interfaces:
SecurityFilter
Ends a sign-in at an identity provider: takes the provider's answer at
/login/oauth2/code/{registrationId}, holds it to the request this browser
was sent away with, exchanges the code, verifies the ID token and signs the
user in.-
Method Summary
Modifier and TypeMethodDescriptiondoFilter(HttpServer.Request request, FilterChain chain) The answer torequest; null when nothing under the chain routes it, which the server answers 404.
-
Method Details
-
doFilter
Description copied from interface:SecurityFilterThe answer torequest; null when nothing under the chain routes it, which the server answers 404.- Specified by:
doFilterin interfaceSecurityFilter- Throws:
Exception
-