[js][ios][android][auth] checkActionCode implemented

This commit is contained in:
Salakar
2017-07-05 14:56:18 +01:00
parent 08f4f0c97b
commit fd93d24e1a
4 changed files with 145 additions and 58 deletions

View File

@@ -172,14 +172,20 @@ export default class Auth extends Base {
* @param code
* @return {Promise.<Null>}
*/
applyActionCode(code: string): Promise<Null> {
applyActionCode(code: string): Promise<Any> {
return FirebaseAuth.applyActionCode(code);
}
// TODO: https://firebase.google.com/docs/reference/js/firebase.auth.Auth#applyActionCode
// TODO: applyActionCode
// TODO: checkActionCode
/**
* Checks a verification code sent to the user by email or other out-of-band mechanism.
*
* @link https://firebase.google.com/docs/reference/js/firebase.auth.Auth#checkActionCode
* @param code
* @return {Promise.<Any>|Promise<ActionCodeInfo>}
*/
checkActionCode(code: string): Promise<Any> {
return FirebaseAuth.checkActionCode(code);
}
/**
* Get the currently signed in user