ServerOAuth2LoginDsl

A Kotlin DSL to configure ServerHttpSecurity OAuth 2.0 login using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var authenticationConverter: ServerAuthenticationConverter?

the ServerAuthenticationConverter used for converting from a ServerWebExchange to an Authentication.

Link copied to clipboard
var authenticationFailureHandler: ServerAuthenticationFailureHandler?

the ServerAuthenticationFailureHandler used after authentication failure.

Link copied to clipboard
var authenticationManager: ReactiveAuthenticationManager?

the ReactiveAuthenticationManager used to determine if the provided Authentication can be authenticated.

Link copied to clipboard
var authenticationMatcher: ServerWebExchangeMatcher?

the ServerWebExchangeMatcher used for determining if the request is an authentication request.

Link copied to clipboard
var authenticationSuccessHandler: ServerAuthenticationSuccessHandler?

the ServerAuthenticationSuccessHandler used after authentication success.

Link copied to clipboard
var authorizationRedirectStrategy: ServerRedirectStrategy?

the redirect strategy for Authorization Endpoint redirect URI.

Link copied to clipboard
var authorizationRequestRepository: ServerAuthorizationRequestRepository<OAuth2AuthorizationRequest>?

the repository to use for storing OAuth2AuthorizationRequests.

Link copied to clipboard
var authorizationRequestResolver: ServerOAuth2AuthorizationRequestResolver?

the resolver used for resolving OAuth2AuthorizationRequests.

Link copied to clipboard
var authorizedClientRepository: ServerOAuth2AuthorizedClientRepository?

the repository for authorized client(s).

Link copied to clipboard
var authorizedClientService: ReactiveOAuth2AuthorizedClientService?

the service responsible for associating an access token to a client and resource owner.

Link copied to clipboard
var clientRegistrationRepository: ReactiveClientRegistrationRepository?

the repository of client registrations.

Link copied to clipboard

the URL to send users to if login is required.

Link copied to clipboard
var oidcSessionRegistry: ReactiveOidcSessionRegistry?
Link copied to clipboard
var securityContextRepository: ServerSecurityContextRepository?

the ServerSecurityContextRepository used to save the Authentication.