Class: Google::Apis::IamV1::Oidc
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::Oidc
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Represents an OpenId Connect 1.0 identity provider.
Instance Attribute Summary collapse
-
#allowed_audiences ⇒ Array<String>
Acceptable values for the
audfield (audience) in the OIDC token. -
#issuer_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Oidc
constructor
A new instance of Oidc.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Oidc
Returns a new instance of Oidc.
936 937 938 |
# File 'lib/google/apis/iam_v1/classes.rb', line 936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_audiences ⇒ Array<String>
Acceptable values for the aud field (audience) in the OIDC token. Token
exchange requests are rejected if the token audience does not match one of the
configured values. Each audience may be at most 256 characters. A maximum of
10 audiences may be configured. If this list is empty, the OIDC token audience
must be equal to the full canonical resource name of the
WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example:
` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/
https://iam.googleapis.com/projects//locations//workloadIdentityPools//
providers/
Corresponds to the JSON propertyallowedAudiences`
929 930 931 |
# File 'lib/google/apis/iam_v1/classes.rb', line 929 def allowed_audiences @allowed_audiences end |
#issuer_uri ⇒ String
Required. The OIDC issuer URL. Must be an HTTPS endpoint.
Corresponds to the JSON property issuerUri
934 935 936 |
# File 'lib/google/apis/iam_v1/classes.rb', line 934 def issuer_uri @issuer_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
941 942 943 944 |
# File 'lib/google/apis/iam_v1/classes.rb', line 941 def update!(**args) @allowed_audiences = args[:allowed_audiences] if args.key?(:allowed_audiences) @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri) end |