Class DefaultMapOAuth2AccessTokenResponseConverter

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

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

      • DefaultMapOAuth2AccessTokenResponseConverter

        public DefaultMapOAuth2AccessTokenResponseConverter()
    • Method Detail

      • convert

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