Reference documentation and code samples for the Google Cloud Iap V1 Client class OutputCredentials.
Supported output credentials for attribute propagation. Each output credential maps to a "field" in the response. For example, selecting JWT will propagate all attributes in the IAP JWT, header in the headers, etc.
Protobuf type google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials
Namespace
Google \ Cloud \ Iap \ V1 \ AttributePropagationSettingsMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
OUTPUT_CREDENTIALS_UNSPECIFIED
Value: 0
An output credential is required.
Generated from protobuf enum OUTPUT_CREDENTIALS_UNSPECIFIED = 0;
HEADER
Value: 1
Propagate attributes in the headers with "x-goog-iap-attr-" prefix.
Generated from protobuf enum HEADER = 1;
JWT
Value: 2
Propagate attributes in the JWT of the form: "additional_claims": {
"my_attribute": ["value1", "value2"] }
Generated from protobuf enum JWT = 2;
RCTOKEN
Value: 3
Propagate attributes in the RCToken of the form: "additional_claims": {
"my_attribute": ["value1", "value2"] }
Generated from protobuf enum RCTOKEN = 3;