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); }
protected override ICollection <ApiScopeClaim> GetCollection(IdentityServer.Store.Entity.ApiScope apiScope) { if (apiScope.ApiScopeClaims == null) { apiScope.ApiScopeClaims = new List <ApiScopeClaim>(); } return(apiScope.ApiScopeClaims); }