Пример #1
0
 public AuthenticationService(IGoogleAuthentication googleAuthentication,
                              IBrewViewAuthentication brewViewAuthentication, ILogger <AuthenticationService> logger)
 {
     m_googleAuthentication   = googleAuthentication;
     m_brewViewAuthentication = brewViewAuthentication;
     m_logger       = logger;
     m_tokenHandler = new JwtSecurityTokenHandler();
 }
Пример #2
0
 public OAuthService(IConfiguration configuration, IGoogleAuthentication googleAuthentication,
                     IHttpClientFactory clientFactory, ILogger <OAuthService> logger, IUserRepository userRepository)
 {
     m_configuration        = configuration;
     m_googleAuthentication = googleAuthentication;
     m_logger         = logger;
     m_userRepository = userRepository;
     m_client         = clientFactory.CreateClient();
 }
Пример #3
0
 public GoogleApiController(IGoogleAuthentication googleAuthentication, IJsonConverter jsonConverter)
 {
     this.googleAuthentication = googleAuthentication;
     this.jsonConverter        = jsonConverter;
 }
Пример #4
0
 public GoogleAnalyticsApi(IGoogleAuthentication googleAuthentication) : base()
 {
     this.googleAuthentication = googleAuthentication;
 }