MicrosoftIdpConfigFromPasswords constructor

MicrosoftIdpConfigFromPasswords({
  1. bool fetchProfilePhoto = true,
  2. MicrosoftAccountDetailsValidation microsoftAccountDetailsValidation = validateMicrosoftAccountDetails,
  3. GetExtraMicrosoftInfoCallback? getExtraMicrosoftInfoCallback,
})

Creates a new MicrosoftIdpConfigFromPasswords instance.

Implementation

MicrosoftIdpConfigFromPasswords({
  super.fetchProfilePhoto,
  super.microsoftAccountDetailsValidation,
  super.getExtraMicrosoftInfoCallback,
}) : super(
       clientId: Serverpod.instance.getPasswordOrThrow('microsoftClientId'),
       clientSecret: Serverpod.instance.getPasswordOrThrow(
         'microsoftClientSecret',
       ),
       tenant: Serverpod.instance.getPassword('microsoftTenant') ?? 'common',
     );