Beispiel #1
0
        public CompanionService(ILoggingService loggingService, IAuthCodeService authCodeService)
        {
            _loggingService  = loggingService;
            _authCodeService = authCodeService;

            Login();
        }
 public HttpPostAuthorizationTokenCommand(ILogger <HttpPostAuthorizationTokenCommand> logger,
                                          IJwtService jwtService, IAuthCodeService authCodeService)
 {
     _Logger          = logger ?? throw new ArgumentNullException(nameof(logger));
     _JwtService      = jwtService ?? throw new ArgumentNullException(nameof(jwtService));
     _AuthCodeService = authCodeService ?? throw new ArgumentNullException(nameof(authCodeService));
 }
Beispiel #3
0
 public SmsAuthCodeValidator(
     IAuthCodeService authCodeService,
     IUserService userService
     )
 {
     this._authCodeService = authCodeService;
     this._userService     = userService;
 }
Beispiel #4
0
        public AuthCodeServiceTests()
        {
            var randomNumberGenerator = new StandardRandomNumberGenerator();

            _AuthCodeGenerator = new AuthCodeGenerator(randomNumberGenerator);
            var cache = new MemoryDistributedCache(Options.Create(new MemoryDistributedCacheOptions()));

            _AuthCodeService = new AuthCodeService(cache, _AuthCodeGenerator);
        }
 public HttpGetAuthorisationRedirectCommand(IIccPortalConfig configuration,
                                            ILogger <HttpGetAuthorisationRedirectCommand> logger, IAuthCodeService authCodeService,
                                            IJwtService jwtService, ITheIdentityHubService theIdentityHubService, HttpGetLogoutCommand logoutCommand)
 {
     _configuration         = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _logger                = logger ?? throw new ArgumentNullException(nameof(logger));
     _authCodeService       = authCodeService ?? throw new ArgumentNullException(nameof(authCodeService));
     _jwtService            = jwtService ?? throw new ArgumentNullException(nameof(jwtService));
     _theIdentityHubService = theIdentityHubService ?? throw new ArgumentNullException(nameof(theIdentityHubService));
     _logoutCommand         = logoutCommand ?? throw new ArgumentNullException(nameof(logoutCommand));
 }
 public SmsAuthCodeValidator(IUserService userService, IAuthCodeService authCodeService)
 {
     _userService     = userService;
     _authCodeService = authCodeService;
 }
 public SmSCodeValidator(IUserService userService, IAuthCodeService authCodeService)
 {
     this.userService     = userService;
     this.authCodeService = authCodeService;
 }
Beispiel #8
0
 public SmaAuthCodeValidaor(IAuthCodeService _authCodeServce, IUserServices _userServices)
 {
     authCodeServce = _authCodeServce;
     userServices   = _userServices;
 }
Beispiel #9
0
 public SmsAuthCodeValidator(IAuthCodeService authCodeService, IUserServices userServices)
 {
     _authCodeService = authCodeService;
     _userServices    = userServices;
 }
 public CusAuthCodeValidator(IAuthCodeService _authCodeService, IUserService _userService)
 {
     authCodeService = _authCodeService;
     userService     = _userService;
 }
 public AuthorizationController(IAuthCodeService authCodeService)
 {
     this.authCodeService = authCodeService;
 }
Beispiel #12
0
 public SmsAuthCode(IAuthCodeService authcodeservice, IUserService userService)
 {
     _authcodeservice = authcodeservice;
     _userService     = userService;
 }
 public SmsExtensionGrantValidator(IAuthCodeService authCodeService, IUserService userService)
 {
     _authCodeService = authCodeService;
     _userService     = userService;
 }
Beispiel #14
0
 public Auth(IAuthCodeService authCodeService = null)
 {
     client           = new GZipWebClient();
     userClient       = new GZipWebClient();
     _authCodeService = authCodeService;
 }
 public SmsAuthCodeGrantType(IUserService userService, IAuthCodeService authCodeService)
 {
     _userService     = userService;
     _authCodeService = authCodeService;
 }
Beispiel #16
0
 public SmsAuthCodeValidator(IAuthCodeService iAuthCodeService, IUserService userService)
 {
     _authCodeService = iAuthCodeService;
     _userService     = userService;
 }