oauth

package
v0.1.4-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2023 License: GPL-3.0, MIT Imports: 9 Imported by: 0

README

package oauth

Created originally by klaidas.

The original package can be found at https://github.com/klaidas/go-oauth1

This package was forked from https://github.com/blainemoser/go-oauth1 and then modified to support the peculiarities of Bricklink's OAuth1 implementation.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth1

type OAuth1 struct {
	ConsumerKey     string
	ConsumerSecret  string
	AccessToken     string
	AccessSecret    string
	SignatureMethod string
}

func (OAuth1) BuildOAuth1Header

func (auth OAuth1) BuildOAuth1Header(method, path string, params map[string]string) string

Params being any key-value url query parameter pairs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL