Property | Type | Description | |
---|---|---|---|
GetAuthDataValue | string | ||
GetAuthorizationHeaderValue | string | ||
GetRequestData | string | ||
GetRequestHeaders | string | ||
GetRequestStreamHash | string |
Method | Description | |
---|---|---|
EdgeGridV1Signer ( IList |
||
Execute ( |
Opens the connection to the {OPEN} API, assembles the signing headers and uploads any files.
|
|
Sign ( |
Signs the given request with the given client credential.
|
|
Validate ( |
Validates the response and attempts to detect root causes for failures for non 200 responses. The most common cause is due to time synchronization of the local server. If the local server is more than 30seconds out of sync then the API server will reject the request. TODO: catch rate limitting errors. Should delay and retry.
|
Method | Description | |
---|---|---|
GetAuthDataValue ( |
||
GetAuthorizationHeaderValue ( |
||
GetRequestData ( string method, |
||
GetRequestHeaders ( |
||
GetRequestStreamHash ( Stream requestStream ) : string |
public EdgeGridV1Signer ( IList |
||
headers | IList |
|
maxBodyHashSize | long | |
return | System |
public Execute ( |
||
request | the | |
credential | ||
uploadStream | Stream | |
return | Stream |
public Sign ( |
||
request | The web request to sign | |
credential | the credential used in the signing | |
uploadStream | Stream | |
return |
public Validate ( |
||
response | the active response object | |
return | void |