示例#1
0
 public ExternalController(
     IIdentityServerInteractionService identityServerInteractionService,
     IClientStore clientStore,
     IEventService eventService,
     ISecurityServiceManager manager)
 {
     this.IdentityServerInteractionService = identityServerInteractionService;
     this.ClientStore  = clientStore;
     this.EventService = eventService;
     this.Manager      = manager;
 }
示例#2
0
 public AccountController(
     IIdentityServerInteractionService identityServerInteractionService,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService eventService,
     ISecurityServiceManager manager)
 {
     this.IdentityServerInteractionService = identityServerInteractionService;
     this.ClientStore    = clientStore;
     this.SchemeProvider = schemeProvider;
     this.EventService   = eventService;
     this.Manager        = manager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiResourceController" /> class.
 /// </summary>
 /// <param name="manager">The manager.</param>
 /// <param name="modelFactory">The model factory.</param>
 public IdentityResourceController(ISecurityServiceManager manager,
                                   IModelFactory modelFactory)
 {
     this.Manager      = manager;
     this.ModelFactory = modelFactory;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RoleController" /> class.
 /// </summary>
 /// <param name="manager">The manager.</param>
 /// <param name="modelFactory">The model factory.</param>
 public RoleController(ISecurityServiceManager manager, IModelFactory modelFactory)
 {
     this.Manager      = manager;
     this.ModelFactory = modelFactory;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RoleController"/> class.
 /// </summary>
 /// <param name="manager">The manager.</param>
 public RoleController(ISecurityServiceManager manager)
 {
     this.Manager = manager;
 }