public static global::IdentityServer4.Models.PersistedGrant ToPersistedGrant(this PersistedGrantModel model)
        {
            var result = model.ToPersistedGrantAsync();

            return(result.Result);
        }