FacebookIdpConfigFromPasswords constructor

FacebookIdpConfigFromPasswords({
  1. FacebookAccountDetailsValidation facebookAccountDetailsValidation = validateFacebookAccountDetails,
  2. GetExtraFacebookInfoCallback? getExtraFacebookInfoCallback,
  3. AfterFacebookAccountCreatedFunction? onAfterFacebookAccountCreated,
})

Creates a new FacebookIdpConfigFromPasswords instance.

Implementation

FacebookIdpConfigFromPasswords({
  super.facebookAccountDetailsValidation,
  super.getExtraFacebookInfoCallback,
  super.onAfterFacebookAccountCreated,
}) : super(
       appId: Serverpod.instance.getPasswordOrThrow('facebookAppId'),
       appSecret: Serverpod.instance.getPasswordOrThrow('facebookAppSecret'),
     );