Class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims

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) ⇒ EndUserAuthenticationConfigOauth2JwtBearerJwtClaims

Returns a new instance of EndUserAuthenticationConfigOauth2JwtBearerJwtClaims.



2684
2685
2686
# File 'lib/google/apis/connectors_v1/classes.rb', line 2684

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/connectors_v1/classes.rb', line 2672

def audience
  @audience
end

#issuerString

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

Returns:

  • (String)


2677
2678
2679
# File 'lib/google/apis/connectors_v1/classes.rb', line 2677

def issuer
  @issuer
end

#subjectString

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

Returns:

  • (String)


2682
2683
2684
# File 'lib/google/apis/connectors_v1/classes.rb', line 2682

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2689
2690
2691
2692
2693
# File 'lib/google/apis/connectors_v1/classes.rb', line 2689

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