public OAuthController(
     ILogger <OAuthController> logger,
     IOptions <OAuthOptions> options,
     AccountLinkingStateService stateService)
 {
     _logger       = logger;
     _options      = options.Value;
     _stateService = stateService;
 }
 public OAuthTokenProvider(
     ILogger <OAuthTokenProvider> logger,
     IOptions <OAuthOptions> options,
     AccountLinkingStateService oAuthStateService,
     OAuthServiceClient oAuthServiceClient,
     IUserTokenStore userTokenStore,
     IReplayValidator replayValidator)
 {
     _logger             = logger;
     _options            = options.Value;
     _oAuthStateService  = oAuthStateService;
     _oAuthServiceClient = oAuthServiceClient;
     _userTokenStore     = userTokenStore;
     _replayValidator    = replayValidator;
 }