public class OAuth2UserRequestEntityConverter extends java.lang.Object implements org.springframework.core.convert.converter.Converter<OAuth2UserRequest,org.springframework.http.RequestEntity<?>>
Converter that converts the provided OAuth2UserRequest to a
RequestEntity representation of a request for the UserInfo Endpoint.Converter,
OAuth2UserRequest,
RequestEntity| Constructor and Description |
|---|
OAuth2UserRequestEntityConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.RequestEntity<?> |
convert(OAuth2UserRequest userRequest)
Returns the
RequestEntity used for the UserInfo Request. |
public org.springframework.http.RequestEntity<?> convert(OAuth2UserRequest userRequest)
RequestEntity used for the UserInfo Request.convert in interface org.springframework.core.convert.converter.Converter<OAuth2UserRequest,org.springframework.http.RequestEntity<?>>userRequest - the user requestRequestEntity used for the UserInfo Request