コード例 #1
0
        public static async Task <global::IdentityServer4.Models.Consent> ToConsentAsync(this ConsentModel model)
        {
            var result = await model.MakeConsentAsync();

            return(result);
        }
コード例 #2
0
        public static global::IdentityServer4.Models.Consent ToConsent(this ConsentModel model)
        {
            var result = model.ToConsentAsync();

            return(result.Result);
        }