Class DefaultOAuth2AccessTokenResponseMapConverter
- java.lang.Object
-
- org.springframework.security.oauth2.core.endpoint.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>>
AConverter
that converts the providedOAuth2AccessTokenResponse
to aMap
representation of the OAuth 2.0 Access Token Response parameters.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description DefaultOAuth2AccessTokenResponseMapConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
convert(OAuth2AccessTokenResponse tokenResponse)
-
-
-
Method Detail
-
convert
public java.util.Map<java.lang.String,java.lang.Object> convert(OAuth2AccessTokenResponse tokenResponse)
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<OAuth2AccessTokenResponse,java.util.Map<java.lang.String,java.lang.Object>>
-
-