public static MemoryAuthStoreOptions Add(this MemoryAuthStoreOptions options, IAuthTarget target, IEnumerable <IAuthActivity> activities) { options.Items.Add(new AuthItem(target, activities)); return(options); }
public static MemoryAuthStoreOptions Add(this MemoryAuthStoreOptions options, IAuthTarget target, params IAuthActivity[] activities) { options.Items.Add(new AuthItem(target, activities)); return(options); }
public AuthItem(IAuthTarget target, params IAuthActivity[] activities) : this(target) { this.Activities.AddRange(activities); }
public AuthItem(IAuthTarget target) { this.Target = target; }
public AuthItem(IAuthTarget target, IEnumerable <IAuthActivity> activities) : this(target) { this.Activities.AddRange(activities); }