DocumentationAPI reference
Rust · 0.1.0
CreateLinkedIdentityRequest
Application protocol schema. Field names and inherited descriptions are kept in their original language.
Where this schema is used
These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.
Shape and fields
object
| Field | Type / requirement | Description |
|---|---|---|
parent | string Required | Required. The parent user who owns the linked identity. Format: users/{user} |
idpName | string Required | Required. The identity provider to link. Format: identity-providers/{idp} |
code | string Required | Required. The authorization code from the identity provider. |
redirectUri | string Required | Required. The redirect URI used in the OAuth flow. |
codeVerifier | string | Optional. The PKCE code verifier used in the OAuth flow. |
Complete schema
Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.
{
"required": [
"parent",
"idpName",
"code",
"redirectUri"
],
"type": "object",
"properties": {
"parent": {
"type": "string",
"description": "Required. The parent user who owns the linked identity.\n Format: users/{user}"
},
"idpName": {
"type": "string",
"description": "Required. The identity provider to link.\n Format: identity-providers/{idp}"
},
"code": {
"type": "string",
"description": "Required. The authorization code from the identity provider."
},
"redirectUri": {
"type": "string",
"description": "Required. The redirect URI used in the OAuth flow."
},
"codeVerifier": {
"type": "string",
"description": "Optional. The PKCE code verifier used in the OAuth flow."
}
}
}