public final class CustomOAuth2UserConverter<T extends OAuth2User>
extends java.lang.Object
Converter
that converts a ClientHttpResponse
to a custom type of OAuth2User
, as supplied via the constructor.OAuth2User
,
ClientHttpResponse
Constructor and Description |
---|
CustomOAuth2UserConverter(java.lang.Class<T> customType) |
Modifier and Type | Method and Description |
---|---|
T |
convert(ClientHttpResponse clientHttpResponse) |