gpsoauth

package module
v0.0.0-...-dd7cce6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2016 License: MIT Imports: 7 Imported by: 2

README

gpsoauth-go

Google Play Services OAuth Package for Golang

Simply

go get github.com/Gacnt/gpsoauth-go

Look at the Test for exact usage on how to work it.

Largely inspired by: gpsoauthnode

Documentation

Index

Constants

View Source
const (
	USER_AGENT string = "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Andromax I56D2G Build/LMY47V"
	AUTH_URL   string = "https://android.clients.google.com/auth"
)

Variables

This section is empty.

Functions

func Login

func Login(email, password, android_id string) (string, string, error)

func OAuth

func OAuth(email, master_token, android_id, service, app, client_sig string) (map[string]string, error)

Types

type GoogleOAuthOptions

type GoogleOAuthOptions struct {
	URL         string
	Method      string
	ContentType string
	Data        *strings.Reader
	Token       string
}

Jump to

Keyboard shortcuts

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