Class OAuth2RefreshTokenGrantRequestEntityConverter
- java.lang.Object
-
- org.springframework.security.oauth2.client.endpoint.OAuth2RefreshTokenGrantRequestEntityConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<OAuth2RefreshTokenGrantRequest,org.springframework.http.RequestEntity<?>>
public class OAuth2RefreshTokenGrantRequestEntityConverter extends java.lang.Object implements org.springframework.core.convert.converter.Converter<OAuth2RefreshTokenGrantRequest,org.springframework.http.RequestEntity<?>>
AConverter
that converts the providedOAuth2RefreshTokenGrantRequest
to aRequestEntity
representation of an OAuth 2.0 Access Token Request for the Refresh Token Grant.- Since:
- 5.2
- See Also:
Converter
,OAuth2RefreshTokenGrantRequest
,RequestEntity
-
-
Constructor Summary
Constructors Constructor Description OAuth2RefreshTokenGrantRequestEntityConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.RequestEntity<?>
convert(OAuth2RefreshTokenGrantRequest refreshTokenGrantRequest)
Returns theRequestEntity
used for the Access Token Request.
-
-
-
Method Detail
-
convert
public org.springframework.http.RequestEntity<?> convert(OAuth2RefreshTokenGrantRequest refreshTokenGrantRequest)
Returns theRequestEntity
used for the Access Token Request.- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<OAuth2RefreshTokenGrantRequest,org.springframework.http.RequestEntity<?>>
- Parameters:
refreshTokenGrantRequest
- the refresh token grant request- Returns:
- the
RequestEntity
used for the Access Token Request
-
-