AppleIdpConfigFromPasswords constructor

AppleIdpConfigFromPasswords({
  1. AfterAppleAccountCreatedFunction? onAfterAppleAccountCreated,
})

Creates a new AppleIdpConfigFromPasswords instance.

Implementation

AppleIdpConfigFromPasswords({
  super.onAfterAppleAccountCreated,
}) : super(
       serviceIdentifier: Serverpod.instance.getPasswordOrThrow(
         'appleServiceIdentifier',
       ),
       bundleIdentifier: Serverpod.instance.getPasswordOrThrow(
         'appleBundleIdentifier',
       ),
       redirectUri: Serverpod.instance.getPasswordOrThrow('appleRedirectUri'),
       teamId: Serverpod.instance.getPasswordOrThrow('appleTeamId'),
       keyId: Serverpod.instance.getPasswordOrThrow('appleKeyId'),
       key: Serverpod.instance.getPasswordOrThrow('appleKey'),
       androidPackageIdentifier: Serverpod.instance.getPassword(
         'appleAndroidPackageIdentifier',
       ),
       webRedirectUri: Serverpod.instance.getPassword('appleWebRedirectUri'),
     );