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.



3017
3018
3019
# File 'lib/google/apis/connectors_v1/classes.rb', line 3017

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


3005
3006
3007
# File 'lib/google/apis/connectors_v1/classes.rb', line 3005

def audience
  @audience
end

#issuerString

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

Returns:

  • (String)


3010
3011
3012
# File 'lib/google/apis/connectors_v1/classes.rb', line 3010

def issuer
  @issuer
end

#subjectString

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

Returns:

  • (String)


3015
3016
3017
# File 'lib/google/apis/connectors_v1/classes.rb', line 3015

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3022
3023
3024
3025
3026
# File 'lib/google/apis/connectors_v1/classes.rb', line 3022

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