public void UseAuthentication(IGuidGenerator generator, string provider, IEnumerable <string> allowScope) { if (Authentication == null) { Authentication = new RouteAuthentication(generator.Create(), Id, provider); } Authentication.AddScopes(allowScope); }