Class Jwt
[Deprecated] JWT configuration for origin authentication. JWT configuration for origin authentication.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class Jwt : IDirectResponseSchema
Properties
Audiences
A JWT containing any of these audiences will be accepted. The service name will be accepted if audiences is empty. Examples: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
Declaration
[JsonProperty("audiences")]
public virtual IList<string> Audiences { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Issuer
Identifies the issuer that issued the JWT, which is usually a URL or an email address. Examples: https://securetoken.google.com, 1234567-compute@developer.gserviceaccount.com
Declaration
[JsonProperty("issuer")]
public virtual string Issuer { get; set; }
Property Value
Type | Description |
---|---|
string |
JwksPublicKeys
The provider's public key set to validate the signature of the JWT.
Declaration
[JsonProperty("jwksPublicKeys")]
public virtual string JwksPublicKeys { get; set; }
Property Value
Type | Description |
---|---|
string |
JwtHeaders
jwt_headers and jwt_params define where to extract the JWT from an HTTP request. If no explicit location is
specified, the following default locations are tried in order: 1. The Authorization header using the Bearer
schema. See here
. Example: Authorization: Bearer . 2. access_token
query parameter. See this
Multiple JWTs can be verified for a request. Each JWT has to be extracted from the locations its issuer
specified or from the default locations. This field is set if JWT is sent in a request header. This field
specifies the header name. For example, if header=x-goog-iap-jwt-assertion
, the header format will be
x-goog-iap-jwt-assertion: .
Declaration
[JsonProperty("jwtHeaders")]
public virtual IList<JwtHeader> JwtHeaders { get; set; }
Property Value
Type | Description |
---|---|
IList<JwtHeader> |
JwtParams
This field is set if JWT is sent in a query parameter. This field specifies the query parameter name. For example, if jwt_params[0] is jwt_token, the JWT format in the query parameter is /path?jwt_token=.
Declaration
[JsonProperty("jwtParams")]
public virtual IList<string> JwtParams { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |