OauthClientCredential class
Represents an OauthClientCredential.
Used to authenticate an OauthClient while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol.
Constructors
- OauthClientCredential({String? clientSecret, bool? disabled, String? displayName, String? name})
- OauthClientCredential.fromJson(Map json_)
Properties
- clientSecret ↔ String?
-
The system-generated OAuth client secret.
getter/setter pair
- disabled ↔ bool?
-
Whether the OauthClientCredential is disabled.
getter/setter pair
- displayName ↔ String?
-
A user-specified display name of the OauthClientCredential.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The resource name of the OauthClientCredential.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited