ServiceAccountCredentials class
Represents credentials for a service account.
Constructors
- ServiceAccountCredentials(String email, ClientId clientId, String privateKey, {String? impersonatedUser})
- Creates a new ServiceAccountCredentials.
- ServiceAccountCredentials.fromJson(Object? json, {String? impersonatedUser})
-
Creates a new ServiceAccountCredentials from JSON.
factory
Properties
- clientId → ClientId
-
The clientId.
final
- email → String
-
The email address of this service account.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- impersonatedUser → String?
-
Impersonated user, if any. If not impersonating any user this is
null
.final - privateKey → String
-
Private key.
final
- privateRSAKey → RSAPrivateKey
-
Private key as an
RSAPrivateKey
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited