Class DefaultOAuth2AccessTokenResponseMapConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<OAuth2AccessTokenResponse,​java.util.Map<java.lang.String,​java.lang.Object>>

    public final class DefaultOAuth2AccessTokenResponseMapConverter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<OAuth2AccessTokenResponse,​java.util.Map<java.lang.String,​java.lang.Object>>
    A Converter that converts the provided OAuth2AccessTokenResponse to a Map representation of the OAuth 2.0 Access Token Response parameters.
    Since:
    5.6
    • Constructor Detail

      • DefaultOAuth2AccessTokenResponseMapConverter

        public DefaultOAuth2AccessTokenResponseMapConverter()
    • Method Detail

      • convert

        public java.util.Map<java.lang.String,​java.lang.Object> convert​(OAuth2AccessTokenResponse tokenResponse)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<OAuth2AccessTokenResponse,​java.util.Map<java.lang.String,​java.lang.Object>>