Class: Google::Apis::ConnectorsV1::Oauth2JwtBearer
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::Oauth2JwtBearer
- 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
-
#client_key ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
-
#jwt_claims ⇒ Google::Apis::ConnectorsV1::JwtClaims
JWT claims used for the jwt-bearer authorization grant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Oauth2JwtBearer
constructor
A new instance of Oauth2JwtBearer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Oauth2JwtBearer
Returns a new instance of Oauth2JwtBearer.
4137 4138 4139 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_key ⇒ Google::Apis::ConnectorsV1::Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property clientKey
4130 4131 4132 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4130 def client_key @client_key end |
#jwt_claims ⇒ Google::Apis::ConnectorsV1::JwtClaims
JWT claims used for the jwt-bearer authorization grant.
Corresponds to the JSON property jwtClaims
4135 4136 4137 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4135 def jwt_claims @jwt_claims end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4142 4143 4144 4145 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4142 def update!(**args) @client_key = args[:client_key] if args.key?(:client_key) @jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims) end |