fetchProfilePhoto property

bool fetchProfilePhoto
final

Whether to automatically fetch and store user profile photos.

When true, profile photos are fetched from Microsoft Graph API and uploaded to your configured storage during authentication. This adds a small delay to the authentication process but provides a better user experience.

When false, profile photo fetching is skipped to improve authentication speed. Authentication will succeed normally without profile photos.

Defaults to true.

Implementation

final bool fetchProfilePhoto;