I was wondering if it is possible to implement with openiddict
a delegation grant type similar to the one implemented here with Identity Server
.
var result = await _validator.ValidateAccessTokenAsync(userToken);
if (result.IsError)
{
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant);
return;
}
Is there any equivalent method to ValidateAccessTokenAsync
in openiddict
in order to validate the token and access some of its properties?