Class: Google::Apis::ConnectorsV1::JwtClaims
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::JwtClaims
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
JWT claims used for the jwt-bearer authorization grant.
Instance Attribute Summary collapse
-
#audience ⇒ String
Optional.
-
#issuer ⇒ String
Optional.
-
#subject ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtClaims
constructor
A new instance of JwtClaims.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtClaims
Returns a new instance of JwtClaims.
4567 4568 4569 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audience ⇒ String
Optional. Value for the "aud" claim.
Corresponds to the JSON property audience
4555 4556 4557 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4555 def audience @audience end |
#issuer ⇒ String
Optional. Value for the "iss" claim.
Corresponds to the JSON property issuer
4560 4561 4562 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4560 def issuer @issuer end |
#subject ⇒ String
Optional. Value for the "sub" claim.
Corresponds to the JSON property subject
4565 4566 4567 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4565 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4572 4573 4574 4575 4576 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4572 def update!(**args) @audience = args[:audience] if args.key?(:audience) @issuer = args[:issuer] if args.key?(:issuer) @subject = args[:subject] if args.key?(:subject) end |