OauthClient class

Represents an OauthClient.

Used to access Google Cloud resources on behalf of a Workforce Identity Federation user by using OAuth 2.0 Protocol to obtain an access token from Google Cloud.

Constructors

OauthClient({List<String>? allowedGrantTypes, List<String>? allowedRedirectUris, List<String>? allowedScopes, String? clientId, String? clientType, String? description, bool? disabled, String? displayName, String? expireTime, String? name, String? state})
OauthClient.fromJson(Map json_)

Properties

allowedGrantTypes List<String>?
The list of OAuth grant types is allowed for the OauthClient.
getter/setter pair
allowedRedirectUris List<String>?
The list of redirect uris that is allowed to redirect back when authorization process is completed.
getter/setter pair
allowedScopes List<String>?
The list of scopes that the OauthClient is allowed to request during OAuth flows.
getter/setter pair
clientId String?
The system-generated OauthClient id.
getter/setter pair
clientType String?
The type of OauthClient.
getter/setter pair
description String?
A user-specified description of the OauthClient.
getter/setter pair
disabled bool?
Whether the OauthClient is disabled.
getter/setter pair
displayName String?
A user-specified display name of the OauthClient.
getter/setter pair
expireTime String?
Time after which the OauthClient will be permanently purged and cannot be recovered.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the OauthClient.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
The state of the OauthClient.
getter/setter pair

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