public EncryptionService(IOptions <SecurityOptions> securitySettingsOptions)
 {
     _securitySettings = securitySettingsOptions.Value;
 }
 public DefaultTokenGenerator(IOptions <SecurityOptions> securitySettingsOptions)
 {
     _securitySettings = securitySettingsOptions.Value;
 }