Interface that represents the credentials returned by an auth provider. Implementations specify the details about each auth provider's credential requirements.
TODO Missing; signInMethod, toJSON, fromJSON
const provider = firebase.auth.EmailAuthProvider;const authCredential = provider.credential('[email protected]', '123456');await firebase.auth().signInWithCredential(authCredential); Copy
const provider = firebase.auth.EmailAuthProvider;const authCredential = provider.credential('[email protected]', '123456');await firebase.auth().signInWithCredential(authCredential);
The authentication provider ID for the credential. For example, 'facebook.com', or 'google.com'.
Interface that represents the credentials returned by an auth provider. Implementations specify the details about each auth provider's credential requirements.
TODO Missing; signInMethod, toJSON, fromJSON
Example