1.6.1 (latest) 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer.

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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #client_key

    def client_key() -> ::Google::Cloud::Connectors::V1::Secret

**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`.

### #client_key=

    def client_key=(value) -> ::Google::Cloud::Connectors::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`.
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`.

### #jwt_claims

    def jwt_claims() -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer::JwtClaims

**Returns**

- ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer::JwtClaims](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2JwtBearer-JwtClaims)) --- JwtClaims providers fields to generate the token.

### #jwt_claims=

    def jwt_claims=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer::JwtClaims

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer::JwtClaims](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2JwtBearer-JwtClaims)) --- JwtClaims providers fields to generate the token.
**Returns**

- ([::Google::Cloud::Connectors::V1::AuthConfig::Oauth2JwtBearer::JwtClaims](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-AuthConfig-Oauth2JwtBearer-JwtClaims)) --- JwtClaims providers fields to generate the token.