Class 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<?>>
    A Converter that converts the provided OAuth2RefreshTokenGrantRequest to a RequestEntity representation of an OAuth 2.0 Access Token Request for the Refresh Token Grant.
    Since:
    5.2
    See Also:
    Converter, OAuth2RefreshTokenGrantRequest, RequestEntity
    • Constructor Detail

      • OAuth2RefreshTokenGrantRequestEntityConverter

        public OAuth2RefreshTokenGrantRequestEntityConverter()
    • Method Detail

      • convert

        public org.springframework.http.RequestEntity<?> convert​(OAuth2RefreshTokenGrantRequest refreshTokenGrantRequest)
        Returns the RequestEntity used for the Access Token Request.
        Specified by:
        convert in interface org.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