public CasController(IUserValidate UserValidate, ICasAuthenticator CasAuthenticator, CasServer CasServer, IUserService userService) { if (UserValidate == null) throw new ArgumentNullException("UserValidate"); if (CasAuthenticator == null) throw new ArgumentNullException("CasAuthenticator"); this.casAuthenticator = CasAuthenticator; this.userValidate = UserValidate; this.casServer = CasServer; this._userService = userService; }
public CasController(IUserValidate UserValidate, ICasAuthenticator CasAuthenticator, CasServer CasServer, IUserService userService) { if (UserValidate == null) { throw new ArgumentNullException("UserValidate"); } if (CasAuthenticator == null) { throw new ArgumentNullException("CasAuthenticator"); } this.casAuthenticator = CasAuthenticator; this.userValidate = UserValidate; this.casServer = CasServer; this._userService = userService; }
public UserController(IUserService userService, IKey key) { this._userService = userService; this._key = key; this._casAuthenticator = new FormsCasAuthenticator(); }
public CasServer(IUserValidate userValidate, ICasAuthenticator casAuthenticator) { this._userValidate = userValidate; this._casAuthenticator = casAuthenticator; }