FacebookAuthSuccess typedef

FacebookAuthSuccess = ({UuidValue authUserId, FacebookAccountDetails details, UuidValue facebookAccountId, bool newAccount, Set<Scope> scopes})

Result of a successful authentication using Facebook as identity provider.

Implementation

typedef FacebookAuthSuccess = ({
  /// The ID of the `FacebookAccount` database entity.
  UuidValue facebookAccountId,

  /// The ID of the associated `AuthUser`.
  UuidValue authUserId,

  /// Details of the Facebook account.
  FacebookAccountDetails details,

  /// Whether the associated `AuthUser` was newly created during authentication.
  bool newAccount,

  /// The scopes granted to the associated `AuthUser`.
  Set<Scope> scopes,
});