Example #1
0
        public async Task Setup()
        {
            _baseConfiguration           = GetBaseConfiguration();
            _authenticationConfiguration = GetAuthenticationConfiguration();

            _authenticationClient = new AuthenticationEndpoint(_baseConfiguration, _authenticationConfiguration, GetDefaultSezzleHttpClient());
        }
 public AuthenticationService(
     IApplicationSettingsService applicationSettingsService,
     IAuthenticationEndpoint authenticationEndpoint)
 {
     _applicationSettingsService = applicationSettingsService ?? throw new ArgumentNullException(nameof(applicationSettingsService));
     _authenticationEndpoint     = authenticationEndpoint ?? throw new ArgumentNullException(nameof(authenticationEndpoint));
 }
 public UsuarioController(IUsuarioEndpoint usuarioEndpoint, IAuthenticationEndpoint authenticationEndpoint
                          , IUserSession userSession, IMapper mapper)
 {
     _authenticationEndpoint = authenticationEndpoint;
     _usuarioEndpoint        = usuarioEndpoint;
     _userSession            = userSession;
     _mapper = mapper;
 }
Example #4
0
 public AccountController(ILogger <AccountController> logger, IApiHelper apiHelper, ISignInManager signInManager,
                          IAccountsEndpoint accountsEndpoint, IAuthenticationEndpoint authenticationEndpoint)
 {
     _logger                 = logger;
     _apiHelper              = apiHelper;
     _accountsEndpoint       = accountsEndpoint;
     _authenticationEndpoint = authenticationEndpoint;
     _signInManager          = signInManager;
 }
Example #5
0
 public SignInManager(IHttpContextAccessor httpContextAccessor, IAccountsEndpoint accountsEndpoint, IApiHelper apiHelper,
                      IJwtTokenAccessor tokenAccessor, IAuthenticationEndpoint authenticationEndpoint)
 {
     _httpContextAccessor    = httpContextAccessor;
     _accountsEndpoint       = accountsEndpoint;
     _apiHelper              = apiHelper;
     _tokenAccessor          = tokenAccessor;
     _authenticationEndpoint = authenticationEndpoint;
 }
Example #6
0
 public CheckoutEndpoint(BaseConfiguration baseConfiguration, IAuthenticationEndpoint authenticationProvider, ISezzleHttpClient sezzleHttpClient)
 {
     _baseConfiguration      = baseConfiguration;
     _authenticationEndpoint = authenticationProvider;
     _sezzleHttpClient       = sezzleHttpClient;
 }
 public AccountController(IAuthenticationEndpoint authenticationEndpoint)
 {
     _authenticationEndpoint = authenticationEndpoint;
 }
 public LoginViewModel(IAuthenticationEndpoint authenticationEndpoint, IUsuarioLogged usuarioLogged, IEventAggregator events)
 {
     _authenticationEndpoint = authenticationEndpoint;
     _usuarioLogged          = usuarioLogged;
     _events = events;
 }