getAssertion static method

MultiFactorAssertion getAssertion(
  1. PhoneAuthCredential credential
)

Transforms a PhoneAuthCredential into a MultiFactorAssertion which can be used to confirm ownership of a phone second factor.

Implementation

static MultiFactorAssertion getAssertion(PhoneAuthCredential credential) {
  return PhoneMultiFactorAssertion(credential);
}