config property
AppleAccountConfig
get
config
Returns the current configuration.
Implementation
AppleAccountConfig get config => _config;
set
config
(AppleAccountConfig config)
Sets the configuration and configured the underlying utilities.
This must be set before any methods on this class are invoked.
Implementation
set config(final AppleAccountConfig config) {
_config = config;
_siwa = SignInWithApple(
config: SignInWithAppleConfiguration(
serviceIdentifier: config.serviceIdentifier,
bundleIdentifier: config.bundleIdentifier,
redirectUri: config.redirectUri,
teamId: config.teamId,
keyId: config.keyId,
key: ECPrivateKey(config.key),
),
);
admin = AppleAccountsAdmin(_siwa);
}