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
Value for the "aud" claim.
-
#issuer ⇒ String
Value for the "iss" claim.
-
#subject ⇒ String
Value for the "sub" claim.
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.
2936 2937 2938 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audience ⇒ String
Value for the "aud" claim.
Corresponds to the JSON property audience
2924 2925 2926 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2924 def audience @audience end |
#issuer ⇒ String
Value for the "iss" claim.
Corresponds to the JSON property issuer
2929 2930 2931 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2929 def issuer @issuer end |
#subject ⇒ String
Value for the "sub" claim.
Corresponds to the JSON property subject
2934 2935 2936 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2934 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2941 2942 2943 2944 2945 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2941 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 |