Class: Google::Apis::ConnectorsV1::JwtClaims

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JwtClaims

Returns a new instance of JwtClaims.



2994
2995
2996
# File 'lib/google/apis/connectors_v1/classes.rb', line 2994

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#audienceString

Value for the "aud" claim. Corresponds to the JSON property audience

Returns:

  • (String)


2982
2983
2984
# File 'lib/google/apis/connectors_v1/classes.rb', line 2982

def audience
  @audience
end

#issuerString

Value for the "iss" claim. Corresponds to the JSON property issuer

Returns:

  • (String)


2987
2988
2989
# File 'lib/google/apis/connectors_v1/classes.rb', line 2987

def issuer
  @issuer
end

#subjectString

Value for the "sub" claim. Corresponds to the JSON property subject

Returns:

  • (String)


2992
2993
2994
# File 'lib/google/apis/connectors_v1/classes.rb', line 2992

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2999
3000
3001
3002
3003
# File 'lib/google/apis/connectors_v1/classes.rb', line 2999

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