public final class SecurityConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static io.grpc.Metadata.Key<java.lang.String> |
AUTHORIZATION_HEADER
A convenience constant that contains the key for the HTTP Authorization Header.
|
static java.lang.String |
BASIC_AUTH_PREFIX
The prefix for basic auth as used in the
AUTHORIZATION_HEADER . |
static java.lang.String |
BEARER_AUTH_PREFIX
The prefix for bearer auth as used in the
AUTHORIZATION_HEADER . |
public static final io.grpc.Metadata.Key<java.lang.String> AUTHORIZATION_HEADER
public static final java.lang.String BASIC_AUTH_PREFIX
AUTHORIZATION_HEADER
. This library assumes that the both the
username and password are UTF_8
encoded before being turned into a base64 string.public static final java.lang.String BEARER_AUTH_PREFIX
AUTHORIZATION_HEADER
.