public class ServerHttpSecurity.OAuth2ClientSpec
extends java.lang.Object
public ServerHttpSecurity.OAuth2ClientSpec authenticationConverter(ServerAuthenticationConverter authenticationConverter)
authenticationConverter
- the converter to useServerHttpSecurity.OAuth2ClientSpec
to customizepublic ServerHttpSecurity.OAuth2ClientSpec authenticationManager(ReactiveAuthenticationManager authenticationManager)
ReactiveAuthenticationManager
to use. The default is
OAuth2AuthorizationCodeReactiveAuthenticationManager
authenticationManager
- the manager to useServerHttpSecurity.OAuth2ClientSpec
to customizepublic ServerHttpSecurity.OAuth2ClientSpec clientRegistrationRepository(ReactiveClientRegistrationRepository clientRegistrationRepository)
ReactiveClientRegistrationRepository
. Default is to look the value up as a Bean.clientRegistrationRepository
- the repository to useServerHttpSecurity.OAuth2ClientSpec
to customizepublic ServerHttpSecurity.OAuth2ClientSpec authorizedClientRepository(ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
ReactiveClientRegistrationRepository
. Default is to look the value up as a Bean.authorizedClientRepository
- the repository to useServerHttpSecurity.OAuth2ClientSpec
to customizepublic ServerHttpSecurity.OAuth2ClientSpec authorizationRequestRepository(ServerAuthorizationRequestRepository<OAuth2AuthorizationRequest> authorizationRequestRepository)
OAuth2AuthorizationRequest
's.authorizationRequestRepository
- the repository to use for storing OAuth2AuthorizationRequest
'sServerHttpSecurity.OAuth2ClientSpec
to customizepublic ServerHttpSecurity and()
ServerHttpSecurity
ServerHttpSecurity
to continue configuringprotected void configure(ServerHttpSecurity http)