Registry / auth / mrjones-oauth

mrjones-oauth

JSON →
library0.0.0-20190623134757-126b35219450gogounverified

Package oauth provides an OAuth 1.0 consumer implementation for Go.

go get github.com/mrjones/oauth
INSTALL
IMPORT
SIG · MRJONES-OAUTH
M
mrjones-oauth
authgov0.0.0-20190623134757-126b35219450
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

oauth
github.com/mrjones/oauth

Create a new OAuth 1.0 consumer

package main import ( "fmt" "github.com/mrjones/oauth" ) func main() { consumer := oauth.NewConsumer("key", "secret", oauth.ServiceProvider{}) fmt.Println(consumer) }
Debug
Known issues
gotchaThis package only supports OAuth 1.0, not OAuth 2.0.
fix
Use a different library like golang.org/x/oauth2 for OAuth 2.0.
affects: *
Upgrade
Version history
0.0.0-20190623134757-126b35219450latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
mrjones-oauth — go get mrjones-oauth · libregistry