Home > @firebase/auth > TwitterAuthProvider > credential
TwitterAuthProvider.credential() method
Creates a credential for Twitter.
Signature:
static credential(token: string, secret: string): OAuthCredential;
Parameters
Parameter | Type | Description |
---|---|---|
token | string | Twitter access token. |
secret | string | Twitter secret. |
Returns: