public class OAuth2RefreshTokenGrantRequestEntityConverter extends java.lang.Object implements org.springframework.core.convert.converter.Converter<OAuth2RefreshTokenGrantRequest,org.springframework.http.RequestEntity<?>>
Converter
that converts the provided OAuth2RefreshTokenGrantRequest
to a RequestEntity
representation of an OAuth 2.0 Access Token Request for the
Refresh Token Grant.Converter
,
OAuth2RefreshTokenGrantRequest
,
RequestEntity
Constructor and Description |
---|
OAuth2RefreshTokenGrantRequestEntityConverter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.RequestEntity<?> |
convert(OAuth2RefreshTokenGrantRequest refreshTokenGrantRequest)
Returns the
RequestEntity used for the Access Token Request. |
public OAuth2RefreshTokenGrantRequestEntityConverter()
public org.springframework.http.RequestEntity<?> convert(OAuth2RefreshTokenGrantRequest refreshTokenGrantRequest)
RequestEntity
used for the Access Token Request.convert
in interface org.springframework.core.convert.converter.Converter<OAuth2RefreshTokenGrantRequest,org.springframework.http.RequestEntity<?>>
refreshTokenGrantRequest
- the refresh token grant requestRequestEntity
used for the Access Token Request