Class: Google::Apis::ConnectorsV1::Oauth2JwtBearer

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

Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Oauth2JwtBearer

Returns a new instance of Oauth2JwtBearer.



5562
5563
5564
# File 'lib/google/apis/connectors_v1/classes.rb', line 5562

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

Instance Attribute Details

#client_keyGoogle::Apis::ConnectorsV1::Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property clientKey



5555
5556
5557
# File 'lib/google/apis/connectors_v1/classes.rb', line 5555

def client_key
  @client_key
end

#jwt_claimsGoogle::Apis::ConnectorsV1::JwtClaims

JWT claims used for the jwt-bearer authorization grant. Corresponds to the JSON property jwtClaims



5560
5561
5562
# File 'lib/google/apis/connectors_v1/classes.rb', line 5560

def jwt_claims
  @jwt_claims
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5567
5568
5569
5570
# File 'lib/google/apis/connectors_v1/classes.rb', line 5567

def update!(**args)
  @client_key = args[:client_key] if args.key?(:client_key)
  @jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims)
end