credentialWithToken static method

AGCAuthCredential credentialWithToken(
  1. String token,
  2. String uid, {
  3. bool autoCreateUser = true,
})

Creates a sign-in credential. By default, an account is automatically created.

Implementation

static AGCAuthCredential credentialWithToken(String token, String uid,
    {bool autoCreateUser = true}) {
  return WeiBoAuthCredential(
      token, uid, autoCreateUser, AuthProviderType.weibo);
}