Package | com.myflashlab.air.extensions.firebase.auth |
Class | public class AuthProvider |
Inheritance | AuthProvider Object |
Method | Defined By | ||
---|---|---|---|
initialize a new instance of this class
| AuthProvider | ||
getCredential():Object | AuthProvider | ||
setAppleAuthProvider($idToken:String, $accessToken:String):void | AuthProvider | ||
setEmailAuthProvider($email:String, $password:String):void Deprecated, instead use setEmailPassAuthProvider | AuthProvider | ||
setEmailLinkAuthProvider($email:String, $link:String):void | AuthProvider | ||
setEmailPassAuthProvider($email:String, $password:String):void | AuthProvider | ||
setFacebookAuthProvider($accessToken:String):void | AuthProvider | ||
setGithubAuthProvider($token:String):void | AuthProvider | ||
setGoogleAuthProvider($idToken:String, $accessToken:String):void | AuthProvider | ||
setPhoneAuthProvider($verificationId:String, $smsCode:String):void | AuthProvider | ||
setPlayGamesAuthProvider($serverAuthCode:String):void | AuthProvider | ||
setTwitterAuthProvider($token:String, $secret:String):void | AuthProvider |
Constant | Defined By | ||
---|---|---|---|
APPLE : String = apple.com [static] | AuthProvider | ||
EMAIL : String = password [static] Deprecated, instead use EMAIL_PASS | AuthProvider | ||
EMAIL_LINK : String = emailLink [static] | AuthProvider | ||
EMAIL_PASS : String = password [static] | AuthProvider | ||
FACEBOOK : String = facebook.com [static] | AuthProvider | ||
FIREBASE : String = firebase [static] | AuthProvider | ||
GITHUB : String = github.com [static] | AuthProvider | ||
GOOGLE : String = google.com [static] | AuthProvider | ||
PHONE : String = phone [static] | AuthProvider | ||
PLAY_GAMES : String = playgames.google.com [static] | AuthProvider | ||
TWITTER : String = twitter.com [static] | AuthProvider |
AuthProvider | () | Constructor |
public function AuthProvider()
initialize a new instance of this class
getCredential | () | method |
public function getCredential():Object
ReturnsObject |
setAppleAuthProvider | () | method |
public function setAppleAuthProvider($idToken:String, $accessToken:String):void
Parameters
$idToken:String | |
$accessToken:String |
setEmailAuthProvider | () | method |
public function setEmailAuthProvider($email:String, $password:String):void
Deprecated, instead use setEmailPassAuthProvider
Parameters
$email:String | |
$password:String |
setEmailLinkAuthProvider | () | method |
public function setEmailLinkAuthProvider($email:String, $link:String):void
Parameters
$email:String | |
$link:String |
setEmailPassAuthProvider | () | method |
public function setEmailPassAuthProvider($email:String, $password:String):void
Parameters
$email:String | |
$password:String |
setFacebookAuthProvider | () | method |
public function setFacebookAuthProvider($accessToken:String):void
Parameters
$accessToken:String |
setGithubAuthProvider | () | method |
public function setGithubAuthProvider($token:String):void
Parameters
$token:String |
setGoogleAuthProvider | () | method |
public function setGoogleAuthProvider($idToken:String, $accessToken:String):void
Parameters
$idToken:String | |
$accessToken:String |
setPhoneAuthProvider | () | method |
public function setPhoneAuthProvider($verificationId:String, $smsCode:String):void
Parameters
$verificationId:String | |
$smsCode:String |
setPlayGamesAuthProvider | () | method |
public function setPlayGamesAuthProvider($serverAuthCode:String):void
Parameters
$serverAuthCode:String |
setTwitterAuthProvider | () | method |
public function setTwitterAuthProvider($token:String, $secret:String):void
Parameters
$token:String | |
$secret:String |
APPLE | Constant |
public static const APPLE:String = apple.com
Constant |
public static const EMAIL:String = password
Deprecated, instead use EMAIL_PASS
EMAIL_LINK | Constant |
public static const EMAIL_LINK:String = emailLink
EMAIL_PASS | Constant |
public static const EMAIL_PASS:String = password
Constant |
public static const FACEBOOK:String = facebook.com
FIREBASE | Constant |
public static const FIREBASE:String = firebase
GITHUB | Constant |
public static const GITHUB:String = github.com
Constant |
public static const GOOGLE:String = google.com
PHONE | Constant |
public static const PHONE:String = phone
PLAY_GAMES | Constant |
public static const PLAY_GAMES:String = playgames.google.com
Constant |
public static const TWITTER:String = twitter.com