MCPcopy Create free account

hub / github.com/apiguy/go-hmacauth / functions

Functions39 in github.com/apiguy/go-hmacauth

↓ 27 callersFunctionexpect
Test helpers from martini
hmacauth_test.go:13
↓ 10 callersFunctionrefute
(t *testing.T, a interface{}, b interface{})
hmacauth_test.go:19
↓ 7 callersFunctionparseAuthHeader
(header string)
hmacauth.go:132
↓ 7 callersFunctionvalidateTimestamp
(ts time.Time, options *Options)
hmacauth.go:170
↓ 6 callersMethodError
()
errors.go:22
↓ 6 callersFunctionHMACAuth
(options Options)
hmacauth.go:65
↓ 6 callersFunctionstringToSign
(req *http.Request, options *Options, timestamp string)
hmacauth.go:105
↓ 3 callersFunctionsecondsAgo
(seconds int32)
hmacauth_test.go:31
↓ 3 callersFunctionsignString
(str string, secret string)
hmacauth.go:99
↓ 2 callersFunctionsecondsFromNow
Make getting test times easier
hmacauth_test.go:27
↓ 1 callersMethodError
()
errors.go:30
↓ 1 callersMethodIsValid
()
hmacauth.go:51
↓ 1 callersMethodSetTimestamp
(isoTime string)
hmacauth.go:57
MethodError
()
errors.go:38
FunctionTest_HMACAuth
(t *testing.T)
hmacauth_test.go:299
FunctionTest_HMACAuth_bad_api_key
(t *testing.T)
hmacauth_test.go:225
FunctionTest_HMACAuth_bad_signature
(t *testing.T)
hmacauth_test.go:278
FunctionTest_HMACAuth_incorrect_header_order_in_string_to_sign
(t *testing.T)
hmacauth_test.go:246
FunctionTest_HMACAuth_invalid_options
(t *testing.T)
hmacauth_test.go:200
FunctionTest_HMACAuth_no_auth_header
(t *testing.T)
hmacauth_test.go:209
FunctionTest_parseAuthHeader
(t *testing.T)
hmacauth_test.go:80
FunctionTest_parseAuthHeader_invalid_timestamp
(t *testing.T)
hmacauth_test.go:93
FunctionTest_parseAuthHeader_missing_APIKey
(t *testing.T)
hmacauth_test.go:107
FunctionTest_parseAuthHeader_missing_Signature
(t *testing.T)
hmacauth_test.go:114
FunctionTest_parseAuthHeader_missing_Timestamp
(t *testing.T)
hmacauth_test.go:121
FunctionTest_parseAuthHeader_repeated_key
(t *testing.T)
hmacauth_test.go:100
FunctionTest_repeatedParameter
(t *testing.T)
hmacauth_test.go:73
FunctionTest_stringToSign
(t *testing.T)
hmacauth_test.go:127
FunctionTest_stringToSign_missing_required_header
(t *testing.T)
hmacauth_test.go:186
FunctionTest_stringToSign_with_headers
(t *testing.T)
hmacauth_test.go:142
FunctionTest_stringToSign_with_ordered_headers
(t *testing.T)
hmacauth_test.go:164
FunctionTest_validateTimeout_expired
(t *testing.T)
hmacauth_test.go:60
FunctionTest_validateTimeout_invalid_future_date
(t *testing.T)
hmacauth_test.go:35
FunctionTest_validateTimeout_now
(t *testing.T)
hmacauth_test.go:48
FunctionTest_validateTimeout_past_no_timeout_set
(t *testing.T)
hmacauth_test.go:54
FunctionTest_validateTimeout_past_not_expired
(t *testing.T)
hmacauth_test.go:67
FunctionTest_validateTimeout_valid_future_date
(t *testing.T)
hmacauth_test.go:42
Method__call__
(self, r)
clients/requests.py:29
Method__init__
(self, api_key, secret_key, required_headers=None)
clients/requests.py:21