Show / Hide Table of Contents

Class JwtLocation

Specifies a location to extract JWT from an API request.

Inheritance
object
JwtLocation
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceUsage.v1beta1.Data
Assembly: Google.Apis.ServiceUsage.v1beta1.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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX