In the Spring OAUTH library under org.springframework.security.oauth2.client.token.grant package we have grants for client, code, implicit and password.
There are some extension grants like jwt-bearer or SAML which requires assertion to be sent for token generation.
Grant type: urn:ietf:params:oauth:grant-type:jwt-bearer
Does Spring OAUTH 2 support these extension grants. If so which class to use? Do we need to write a custome class to support it ?