public interface JwtLocationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getHeader()
public abstract String getHeader()
Specifies HTTP header name to extract JWT token.
string header = 1;
Type | Description |
String | The header. |
getHeaderBytes()
public abstract ByteString getHeaderBytes()
Specifies HTTP header name to extract JWT token.
string header = 1;
Type | Description |
ByteString | The bytes for header. |
getInCase()
public abstract JwtLocation.InCase getInCase()
Type | Description |
JwtLocation.InCase |
getQuery()
public abstract String getQuery()
Specifies URL query parameter name to extract JWT token.
string query = 2;
Type | Description |
String | The query. |
getQueryBytes()
public abstract ByteString getQueryBytes()
Specifies URL query parameter name to extract JWT token.
string query = 2;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for valuePrefix. |
hasHeader()
public abstract boolean hasHeader()
Specifies HTTP header name to extract JWT token.
string header = 1;
Type | Description |
boolean | Whether the header field is set. |
hasQuery()
public abstract boolean hasQuery()
Specifies URL query parameter name to extract JWT token.
string query = 2;
Type | Description |
boolean | Whether the query field is set. |