MicrosoftAuthSuccess typedef
MicrosoftAuthSuccess = ({UuidValue authUserId, MicrosoftAccountDetails details, UuidValue microsoftAccountId, bool newAccount, Set<Scope> scopes})
Result of a successful authentication using Microsoft as identity provider.
Implementation
typedef MicrosoftAuthSuccess = ({
/// The ID of the `MicrosoftAccount` database entity.
UuidValue microsoftAccountId,
/// The ID of the associated `AuthUser`.
UuidValue authUserId,
/// Details of the Microsoft account.
MicrosoftAccountDetails details,
/// Whether the associated `AuthUser` was newly created during authentication.
bool newAccount,
/// The scopes granted to the associated `AuthUser`.
Set<Scope> scopes,
});