public ServiceAuthenticatorHost(IJwtTokenHandler jwtTokenHandler,
                                 JwtTokenSettings jwtTokenSettings,
                                 ServiceSettings serviceSettings)
 {
     _jwtTokenHandler  = jwtTokenHandler;
     _jwtTokenSettings = jwtTokenSettings;
     _serviceSettings  = serviceSettings;
 }
 public JwtTokenHandler(JwtTokenSettings settings)
 {
     _settings     = settings;
     _jwtSecretKey = Encoding.Unicode.GetBytes(settings.SecretKey);
 }