confirm method

Future<SocialAuthResult> confirm(
  1. String provider
)

Re-authenticates with an already linked provider for a step-up proof.

The result carries SocialAuthResult.confirmationToken. On iOS the sheet is ephemeral, so the provider asks for the account again instead of waving a remembered session through.

Implementation

Future<SocialAuthResult> confirm(String provider) {
  return authorize(provider, Pkce.generate(), confirm: true);
}