MicrosoftIdpConfigFromPasswords constructor
MicrosoftIdpConfigFromPasswords({
- bool fetchProfilePhoto = true,
- MicrosoftAccountDetailsValidation microsoftAccountDetailsValidation = validateMicrosoftAccountDetails,
- 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',
);