Interface JwtLocationOrBuilder (2.8.3)

public interface JwtLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeader()

public abstract String getHeader()

Specifies HTTP header name to extract JWT token.

string header = 1;

Returns
TypeDescription
String

The header.

getHeaderBytes()

public abstract ByteString getHeaderBytes()

Specifies HTTP header name to extract JWT token.

string header = 1;

Returns
TypeDescription
ByteString

The bytes for header.

getInCase()

public abstract JwtLocation.InCase getInCase()
Returns
TypeDescription
JwtLocation.InCase

getQuery()

public abstract String getQuery()

Specifies URL query parameter name to extract JWT token.

string query = 2;

Returns
TypeDescription
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Specifies URL query parameter name to extract JWT token.

string query = 2;

Returns
TypeDescription
ByteString

The bytes for query.

getValuePrefix()

public abstract String getValuePrefix()

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.

string value_prefix = 3;

Returns
TypeDescription
String

The valuePrefix.

getValuePrefixBytes()

public abstract ByteString getValuePrefixBytes()

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.

string value_prefix = 3;

Returns
TypeDescription
ByteString

The bytes for valuePrefix.

hasHeader()

public abstract boolean hasHeader()

Specifies HTTP header name to extract JWT token.

string header = 1;

Returns
TypeDescription
boolean

Whether the header field is set.

hasQuery()

public abstract boolean hasQuery()

Specifies URL query parameter name to extract JWT token.

string query = 2;

Returns
TypeDescription
boolean

Whether the query field is set.