Skip to content

Commit

Permalink
Fix error from earlier oauthBodyHash commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aric Parkinson committed Aug 26, 2019
1 parent 5beb415 commit 51e27bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auther.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package oauth1
import (
"bytes"
"crypto/rand"
"crypto/sha1"
"encoding/base64"
"fmt"
"io/ioutil"
Expand All @@ -17,6 +18,7 @@ import (
const (
authorizationHeaderParam = "Authorization"
authorizationPrefix = "OAuth " // trailing space is intentional
oauthBodyHash = "oauth_body_hash"
oauthConsumerKeyParam = "oauth_consumer_key"
oauthNonceParam = "oauth_nonce"
oauthSignatureParam = "oauth_signature"
Expand Down

0 comments on commit 51e27bb

Please sign in to comment.