public class AuthHeader extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static Pattern |
jwtHeaderPattern |
| Constructor | Description |
|---|---|
AuthHeader(String value,
AuthType authType) |
| Modifier and Type | Method | Description |
|---|---|---|
AuthType |
getAuthType() |
|
String |
getValue() |
|
static String |
parseValueFromJWTHeader(String headerValue) |
|
static AuthHeader |
unauthenticated() |
public static Pattern jwtHeaderPattern
public String getValue()
public AuthType getAuthType()
public static AuthHeader unauthenticated()
public static String parseValueFromJWTHeader(String headerValue) throws IOException
headerValue - For example: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.