public class OAuth2ClientCredentialsGrantRequestEntityConverter extends java.lang.Object implements org.springframework.core.convert.converter.Converter<OAuth2ClientCredentialsGrantRequest,org.springframework.http.RequestEntity<?>>
Converter
that converts the provided OAuth2ClientCredentialsGrantRequest
to a RequestEntity
representation of an OAuth 2.0 Access Token Request
for the Client Credentials Grant.Converter
,
OAuth2ClientCredentialsGrantRequest
,
RequestEntity
Constructor and Description |
---|
OAuth2ClientCredentialsGrantRequestEntityConverter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.RequestEntity<?> |
convert(OAuth2ClientCredentialsGrantRequest clientCredentialsGrantRequest)
Returns the
RequestEntity used for the Access Token Request. |
public OAuth2ClientCredentialsGrantRequestEntityConverter()
public org.springframework.http.RequestEntity<?> convert(OAuth2ClientCredentialsGrantRequest clientCredentialsGrantRequest)
RequestEntity
used for the Access Token Request.convert
in interface org.springframework.core.convert.converter.Converter<OAuth2ClientCredentialsGrantRequest,org.springframework.http.RequestEntity<?>>
clientCredentialsGrantRequest
- the client credentials grant requestRequestEntity
used for the Access Token Request