Class JwtLocation
Specifies a location to extract JWT from an API request.
Implements
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1.Data
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class JwtLocation : IDirectResponseSchema
Properties
Cookie
Specifies cookie name to extract JWT token.
Declaration
[JsonProperty("cookie")]
public virtual string Cookie { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Header
Specifies HTTP header name to extract JWT token.
Declaration
[JsonProperty("header")]
public virtual string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
Specifies URL query parameter name to extract JWT token.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
ValuePrefix
The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
Declaration
[JsonProperty("valuePrefix")]
public virtual string ValuePrefix { get; set; }
Property Value
Type | Description |
---|---|
string |