Beispiel #1
0
 public AuthenticationService(IGoogleAuthentication googleAuthentication,
                              IBrewViewAuthentication brewViewAuthentication, ILogger <AuthenticationService> logger)
 {
     m_googleAuthentication   = googleAuthentication;
     m_brewViewAuthentication = brewViewAuthentication;
     m_logger       = logger;
     m_tokenHandler = new JwtSecurityTokenHandler();
 }
 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();
 }
Beispiel #3
0
 public GoogleApiController(IGoogleAuthentication googleAuthentication, IJsonConverter jsonConverter)
 {
     this.googleAuthentication = googleAuthentication;
     this.jsonConverter        = jsonConverter;
 }
Beispiel #4
0
 public GoogleAnalyticsApi(IGoogleAuthentication googleAuthentication) : base()
 {
     this.googleAuthentication = googleAuthentication;
 }