コード例 #1
0
        public async Task <global::IdentityServer3.Core.Models.Consent> MakeConsentAsync()
        {
            var result = new global::IdentityServer3.Core.Models.Consent
            {
                ClientId = ClientId,
                Scopes   = DeserializeScopes(Scopes),
                Subject  = Subject
            };

            return(await Task.FromResult(result));
        }
コード例 #2
0
 public AbstractConsentHandle(global::IdentityServer3.Core.Models.Consent consent)
 {
     ClientId = consent.ClientId;
     Subject  = consent.Subject;
     Scopes   = Serialize(consent.Scopes);
 }
コード例 #3
0
 public FlattenedConsentHandle(global::IdentityServer3.Core.Models.Consent consent) : base(consent)
 {
 }