Ejemplo n.º 1
0
        protected override ICollection <ApiScopeProperty> GetCollection(IdentityServer.Store.Entity.ApiScope apiScope)
        {
            if (apiScope.Properties == null)
            {
                apiScope.Properties = new List <ApiScopeProperty>();
            }

            return(apiScope.Properties);
        }
        protected override ICollection <ApiScopeLocalizedResource> GetCollection(IdentityServer.Store.Entity.ApiScope apiScope)
        {
            if (apiScope.Resources == null)
            {
                apiScope.Resources = new List <ApiScopeLocalizedResource>();
            }

            return(apiScope.Resources);
        }
Ejemplo n.º 3
0
        protected override ICollection <ApiScopeClaim> GetCollection(IdentityServer.Store.Entity.ApiScope apiScope)
        {
            if (apiScope.ApiScopeClaims == null)
            {
                apiScope.ApiScopeClaims = new List <ApiScopeClaim>();
            }

            return(apiScope.ApiScopeClaims);
        }