Beispiel #1
0
 public CustomerGrpcServices(
     ITokenAdapter _tokenAdapter, IConfiguration _configuration
     )
 {
     this.tokenAdapter  = _tokenAdapter;
     this.configuration = _configuration;
 }
 public AutenticacaoService(ILoggerFactory loggerFactory,
                            ITokenAdapter tokenAdapter)
 {
     logger = loggerFactory?.CreateLogger <AutenticacaoService>() ??
              throw new ArgumentNullException(nameof(loggerFactory));
     this.tokenAdapter = tokenAdapter ??
                         throw new ArgumentNullException(nameof(tokenAdapter));
 }
Beispiel #3
0
 public TransactionGrpcServces(ITokenAdapter tokenAdapter, IConfiguration configuration)
 {
     this.tokenAdapter  = tokenAdapter;
     this.configuration = configuration;
 }