public class ApiKeyAuthHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
kDefault_AuthLineHeader |
static String |
kDefault_DateLineHeader |
static String |
kDefault_MagicLineHeader |
static String |
kSetting_AuthLineHeader |
static String |
kSetting_DateLineHeader |
static String |
kSetting_MagicLineHeader |
| Constructor and Description |
|---|
ApiKeyAuthHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ApiKeyCredential |
readApiKeyCredential(NvReadable settings,
HeaderReader hr,
String serviceName)
Build an ApiKeyCredential from an inbound HTTP header.
|
public static final String kSetting_AuthLineHeader
public static final String kSetting_DateLineHeader
public static final String kSetting_MagicLineHeader
public static final String kDefault_AuthLineHeader
public static final String kDefault_DateLineHeader
public static final String kDefault_MagicLineHeader
public static ApiKeyCredential readApiKeyCredential(NvReadable settings, HeaderReader hr, String serviceName)
settings - a settings sourcehr - a header reader, to isolate web server tech from this classserviceName - the name of the service fpr signed contentCopyright © 2022 continual.io. All rights reserved.