Resource: OauthClient
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.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Immutable. Identifier. The resource name of the Format: |
state |
Output only. The state of the |
disabled |
Optional. Whether the |
client |
Output only. The system-generated |
display |
Optional. A user-specified display name of the Cannot exceed 32 characters. |
description |
Optional. A user-specified description of the Cannot exceed 256 characters. |
client |
Immutable. The type of |
allowed |
Required. The list of OAuth grant types is allowed for the |
allowed |
Required. The list of scopes that the The following scopes are supported:
|
allowed |
Required. The list of redirect uris that is allowed to redirect back when authorization process is completed. |
expire |
Output only. Time after which the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
The current state of the OauthClient
.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
ACTIVE |
The OauthClient is active. |
DELETED |
The OauthClient is soft-deleted. Soft-deleted OauthClient is permanently deleted after approximately 30 days unless restored via oauthClients.undelete . |
ClientType
The type of OauthClient
.
Enums | |
---|---|
CLIENT_TYPE_UNSPECIFIED |
Should not be used. |
PUBLIC_CLIENT |
Public client has no secret. |
CONFIDENTIAL_CLIENT |
Private client. |
GrantType
The OAuth grant type.
Enums | |
---|---|
GRANT_TYPE_UNSPECIFIED |
Should not be used. |
AUTHORIZATION_CODE_GRANT |
Authorization code grant. |
REFRESH_TOKEN_GRANT |
Refresh token grant. |
Methods |
|
---|---|
|
Creates a new OauthClient . |
|
Deletes an OauthClient . |
|
Gets an individual OauthClient . |
|
Lists all non-deleted OauthClient s in a project. |
|
Updates an existing OauthClient . |
|
Undeletes an OauthClient , as long as it was deleted fewer than 30 days ago. |