public MetaController(IdentityManagerConfiguration config, IIdentityManagerService userManager) { if (config == null) throw new ArgumentNullException("config"); if (userManager == null) throw new ArgumentNullException("userManager"); this.config = config; this.userManager = userManager; }
public DisposableIdentityManagerService(IIdentityManagerService inner, IDisposable disposable) { if (inner == null) throw new ArgumentNullException("inner"); if (disposable == null) throw new ArgumentNullException("disposable"); this.inner = inner; this.disposable = disposable; }
public InMemoryManagerOptionsService(IIdentityManagerService identityManagerService) { if (identityManagerService == null) { throw new ArgumentNullException(nameof(identityManagerService)); } this.identityManagerService = identityManagerService; }
public UserController(IIdentityManagerService userManager) { if (userManager == null) { throw new ArgumentNullException("userManager"); } this.userManager = userManager; }
public RoleController(IIdentityManagerService idmService) { if (idmService == null) { throw new ArgumentNullException("idmService"); } this.idmService = idmService; }
public IndexModel(ILogger <IndexModel> logger , IIdentityManagerService identityManagerService , IConfiguration configuration , IHttpClientFactory httpClientFactory) { _logger = logger; _identityManagerService = identityManagerService; _configuration = configuration; _httpClientFactory = httpClientFactory; }
//IdentityManagerOptions config; public MetaController(/*IdentityManagerOptions config,*/ IIdentityManagerService userManager) { //if (config == null) throw new ArgumentNullException("config"); if (userManager == null) { throw new ArgumentNullException("userManager"); } //this.config = config; this.userManager = userManager; }
public MetaController(IdentityManagerConfiguration config, IIdentityManagerService userManager) { if (config == null) { throw new ArgumentNullException("config"); } if (userManager == null) { throw new ArgumentNullException("userManager"); } this.config = config; this.userManager = userManager; }
public DisposableIdentityManagerService(IIdentityManagerService inner, IDisposable disposable) { if (inner == null) { throw new ArgumentNullException("inner"); } if (disposable == null) { throw new ArgumentNullException("disposable"); } this.inner = inner; this.disposable = disposable; }
public IdentityManagerBootstrapper(IIdentityManagerService identityManagerService, string identityServerUri, string identityManagerUri) { if (identityManagerService == null) { throw new ArgumentNullException(nameof(identityManagerService)); } if (string.IsNullOrWhiteSpace(identityServerUri)) { throw new ArgumentNullException("No identity server uri specified"); } if (string.IsNullOrWhiteSpace(identityManagerUri)) { throw new ArgumentNullException("No identity manager uri specified"); } this.identityManagerService = identityManagerService; this.identityServerUri = identityServerUri; this.identityManagerUri = identityManagerUri; }
public MetaController(IIdentityManagerService userManager) { this.userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); }
public UsersController(IIdentityManagerService service, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor) { this.service = service ?? throw new ArgumentNullException(nameof(service)); this.urlHelperFactory = urlHelperFactory ?? throw new ArgumentNullException(nameof(urlHelperFactory)); this.actionContextAccessor = actionContextAccessor ?? throw new ArgumentNullException(nameof(actionContextAccessor)); }
public IdentityManagerSemanticsTests() { subject = CreateIdentityManager(); }
public UserController(IIdentityManagerService idmService) { this.idmService = idmService ?? throw new ArgumentNullException(nameof(idmService)); }
public RolesController(IIdentityManagerService service) { this.service = service ?? throw new ArgumentNullException(nameof(service)); }
public ManagerController(ILogger <ManagerController> logger, IIdentityManagerService identityManagerService) { _logger = logger; _identityManagerService = identityManagerService; }
/// <summary> /// Initializes a new instance of the <see cref="UserController"/> class. /// </summary> /// <param name="identityService"> /// The identity service. /// </param> public UserRoleController( IIdentityManagerService identityService ) { this._identityService = identityService; }
public RoleController(IIdentityManagerService idmService) { this._idmService = idmService ?? throw new ArgumentNullException("idmService"); }