OAuth2LoginDsl
A Kotlin DSL to configure HttpSecurity OAuth 2.0 login using idiomatic Kotlin code.
Author
Eleftheria Stein
Since
5.3
Properties
the AuthenticationFailureHandler used after authentication success
the AuthenticationSuccessHandler used after authentication success
the repository for authorized client(s).
the service for authorized client(s).
the repository of client registrations.
the URL to send users if authentication fails
the URL to validate the credentials
whether to grant access to the urls for failureUrl as well as for the HttpSecurityBuilder, the loginPage and loginProcessingUrl for every user
Functions
Configures the Authorization Server's Authorization Endpoint.
Specifies where users will be redirected after authenticating successfully if they have not visited a secured page prior to authenticating or alwaysUse is true.
Grants access to the urls for failureUrl as well as for the HttpSecurityBuilder, the loginPage and loginProcessingUrl for every user.
Configures the Authorization Server's Redirection Endpoint.
Configures the Authorization Server's Token Endpoint.
Configures the Authorization Server's UserInfo Endpoint.