xauth

package
v0.0.0-...-d63c054 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XAuthError

type XAuthError struct {
	Err struct {
		Text string `xml:",chardata"`
		Code string `xml:"code,attr"`
	} `xml:"error"`
}

func (*XAuthError) Error

func (e *XAuthError) Error() string

type XAuthResponse

type XAuthResponse struct {
	OauthToken       string
	OauthTokenSecret string
	UserID           string
	ScreenName       string
	XAuthExpires     string
}

func Do

func Do(consumerKey, consumerSecret, screenName, password string) (*XAuthResponse, error)

Jump to

Keyboard shortcuts

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