Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Get signature in oAuth Authorization header
Xartok
Jul 5th, 2015
213
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
getOauthSignature
(
authHeader
)
{
return
authHeader.
split
(
"oauth_"
)
.
filter
(
function
(
str
)
{
return
str.
indexOf
(
"signature="
)
!==
-
1
;
}
)
[
0
]
.
split
(
"="
)
[
1
]
.
replace
(
/\"/g
,
""
)
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 14 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 15 min ago | 0.38 KB
How Does HFM 100% SuperCharged Bonus Work for...
PHP | 47 min ago | 2.51 KB
Untitled
HTML 5 | 52 min ago | 0.34 KB
Untitled
Bash | 56 min ago | 1.06 KB
RequestException: error with request [Errno 1...
Python | 57 min ago | 2.88 KB
take_out_the_trash
Python | 1 hour ago | 2.59 KB
bin_metadata
Python | 1 hour ago | 2.14 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!