diff --git a/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md b/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md index 3e65c96bab..73a0d7589c 100644 --- a/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md +++ b/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md @@ -1,11 +1,10 @@ # How to add a custom grant type in OpenIddict ## ITokenExtensionGrant -Create a class that inherits `ITokenExtensionGrant`, and then register it with the framework. -In the `MyTokenExtensionGrant` class below we try to get the token details. The `ForbidResult` handles the failure case and `SignInResult` returns a new token response. +Create a class that inherits `ITokenExtensionGrant`, and then register it with the framework. -You can pass more parameters to implement business checks. +In the `MyTokenExtensionGrant` class below we try to get the token details, The `ForbidResult` handles the failure case and `SignInResult` returns a new token response, You can pass more parameters to implement business checks. ```cs public class MyTokenExtensionGrant : ITokenExtensionGrant