public class HawkSignatureAuthenticationRequest extends Object
Request to authenticate a hawk request.
See http://schemas.taskcluster.net/auth/v1/authenticate-hawk-request.json#
| Modifier and Type | Field and Description |
|---|---|
String |
authorization
Authorization header, must only be specified if request being authenticated has a
Authorization header. |
String |
host
Host for which the request came in, this is typically the
Host header excluding the port if any. |
String |
method
HTTP method of the request being authenticated.
|
int |
port
Port on which the request came in, this is typically
80 or 443. |
String |
resource
Resource the request operates on including querystring.
|
| Constructor and Description |
|---|
HawkSignatureAuthenticationRequest() |
public String authorization
Authorization header, must only be specified if request being authenticated has a Authorization header.
public String host
Host for which the request came in, this is typically the Host header excluding the port if any.
public String method
HTTP method of the request being authenticated.
public int port
Port on which the request came in, this is typically 80 or 443. If you are running behind a reverse proxy look for the x-forwarded-port header.
public String resource
Resource the request operates on including querystring. This is the string that follows the HTTP method. Note, order of querystring elements is important.
Copyright © 2014–2016 Mozilla. All rights reserved.