Skip to content

Commit

Permalink
Merge pull request #3 from aparkins/master
Browse files Browse the repository at this point in the history
Fix error from earlier oauthBodyHash commit
  • Loading branch information
ribrdb authored Aug 27, 2019
2 parents 5beb415 + 51e27bb commit b098500
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 b098500

Please sign in to comment.