linkProviderAccountFlow function

Future<AuthAccountLinked> linkProviderAccountFlow({
  1. required AuthStore store,
  2. required String userId,
  3. required String providerId,
  4. required String providerAccountId,
  5. String? accessToken,
  6. String? refreshToken,
  7. DateTime? expiresAt,
  8. Map<String, dynamic>? metadata,
})

Links a provider account flow.

Implementation

Future<AuthAccountLinked> linkProviderAccountFlow({
  required AuthStore store,
  required String userId,
  required String providerId,
  required String providerAccountId,
  String? accessToken,
  String? refreshToken,
  DateTime? expiresAt,
  Map<String, dynamic>? metadata,
}) async {
  return linkProviderAccount(
    store: store,
    userId: userId,
    providerId: providerId,
    providerAccountId: providerAccountId,
    accessToken: accessToken,
    refreshToken: refreshToken,
    expiresAt: expiresAt,
    metadata: metadata,
  );
}