Credentials class

Constructors

Credentials({required String apiKey, required String uid, required String email, String? keyId, String? keyName})
const
Credentials.fromJson(Map<String, dynamic> json)
factory

Properties

apiKey → String
final
email → String
final
hashCode → int
The hash code for this object.
no setterinherited
keyId → String?
final
keyName → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save({String? configDir}) → void
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

delete({String? configDir}) → void
fromEnv() → String?
hasSavedFile({String? configDir}) → bool
Whether a credentials file exists on disk, independent of fromEnv — load() short-circuits to the env var when it's set, which can otherwise hide a stale file left over from an earlier local login.
load({String? configDir}) → Credentials?