Packagecom.distriqt.extension.firebase.auth
Classpublic class GithubAuthProvider
InheritanceGithubAuthProvider Inheritance Object

Represents the Github authentication provider. Use this class to obtain GithubAuthCredentials



Public Methods
 MethodDefined By
  
Constructor
GithubAuthProvider
  
[static] Returns a new instance of AuthCredential that wraps a Github OAuth token.
GithubAuthProvider
Constructor Detail
GithubAuthProvider()Constructor
public function GithubAuthProvider()

Constructor

Method Detail
getCredential()method
public static function getCredential(token:String):AuthCredential

Returns a new instance of AuthCredential that wraps a Github OAuth token. Used when calling signInWithCredential(AuthCredential) or linkWithCredential(AuthCredential).

Parameters

token:String — A valid Github OAuth access token, obtained from the Github OAuth flow

Returns
AuthCredential — A new instance of AuthCredential used for signInWithCredential or linkWithCredential