TomDesktopSecretStore constructor
TomDesktopSecretStore({})
The store of service (the keychain's service name, e.g.
tom-secrets-manager). operatingSystem and environment default to
this process's.
Implementation
TomDesktopSecretStore({
required this.service,
this.timeout = const Duration(seconds: 10),
String? operatingSystem,
Map<String, String>? environment,
String securityExecutable = '/usr/bin/security',
String secretToolExecutable = 'secret-tool',
}) : _os = operatingSystem ?? Platform.operatingSystem,
_env = environment ?? Platform.environment,
_security = securityExecutable,
_secretTool = secretToolExecutable {
_checkName(service, 'service');
}