checkActionCode abstract method

Future<Either<AuthServiceActionCodeFailure, ({String? email})>> checkActionCode(
  1. String oobCode
)

Check (without consuming) a Firebase out-of-band action code — e.g. an email-verification oobCode from a verification deep link — and return the action's payload.

Use this BEFORE applyActionCode when you need the action's email or operation context. applyActionCode consumes the code; subsequent calls to checkActionCode with the same code return AuthServiceActionCodeFailure.invalidCode.

The returned email is the address the action was issued for (e.g. the pending verification target). May be null for operations that don't carry an email payload.

Implementation

Future<Either<AuthServiceActionCodeFailure, ({String? email})>> checkActionCode(
  String oobCode,
);