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