oauth1protocol

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOAuth1Header

func CreateOAuth1Header(params map[string]string, r *gohttp.Request) (string, error)

CreateOAuth1Header calls a series of methods to construct the oAuth1 'Authorization' Header String

Types

type OAuth1

type OAuth1 struct {
	ConsumerKey     string
	ConsumerSecret  string
	Nonce           string
	Signature       string
	SignatureMethod string
	TimeStamp       string
	Token           string
	TokenSecret     string
	Version         string
}

OAuth1 is a struct of all OAuth1 specific parameters

Jump to

Keyboard shortcuts

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