Credential constructor

  1. @protected
const Credential({
  1. required String providerId,
  2. String signInMethod = "oauth",
  3. int? token,
  4. String? accessToken,
  5. String? secret,
  6. String? idToken,
})

Interface that represents the credentials returned by an auth provider. Implementations specify the details about each auth provider's credential requirements.

認証プロバイダーによって返される資格情報を表すインターフェイス。 実装では、各認証プロバイダーの資格情報要件の詳細を指定します。

Implementation

// ignore: public_member_api_docs
@protected
const Credential({
  required this.providerId,
  this.signInMethod = "oauth",
  this.token,
  this.accessToken,
  this.secret,
  this.idToken,
});