Class OAuth2ClientRegistrationRegisteredClientConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.converter.OAuth2ClientRegistrationRegisteredClientConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<OAuth2ClientRegistration, RegisteredClient>
public final class OAuth2ClientRegistrationRegisteredClientConverter
extends Object
implements org.springframework.core.convert.converter.Converter<OAuth2ClientRegistration, RegisteredClient>
- Since:
- 7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(OAuth2ClientRegistration clientRegistration) voidsetTokenSettingsCustomizer(Consumer<TokenSettings.Builder> tokenSettingsCustomizer) Sets theConsumerproviding access to theTokenSettings.Builderallowing the ability to customize the token configuration settings.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
OAuth2ClientRegistrationRegisteredClientConverter
public OAuth2ClientRegistrationRegisteredClientConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<OAuth2ClientRegistration, RegisteredClient>
-
setTokenSettingsCustomizer
Sets theConsumerproviding access to theTokenSettings.Builderallowing the ability to customize the token configuration settings.- Parameters:
tokenSettingsCustomizer- theConsumerproviding access to theTokenSettings.Builder- Since:
- 7.1
-