faux

package
Version: v0.0.0-...-8b2e761 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2015 License: MIT Imports: 3 Imported by: 0

README

FauxProvider

This provider is merely here to help with testing other parts of these packages. I wouldn't recommend using it. :)

Documentation

Overview

Package faux is used exclusively for testing purposes. I would strongly suggest you move along as there's nothing to see here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
}

Provider is used only for testing.

func (*Provider) BeginAuth

func (p *Provider) BeginAuth(state string) (goth.Session, error)

BeginAuth is used only for testing.

func (*Provider) Debug

func (p *Provider) Debug(debug bool)

Debug is used only for testing.

func (*Provider) FetchUser

func (p *Provider) FetchUser(session goth.Session) (goth.User, error)

FetchUser is used only for testing.

func (*Provider) Name

func (p *Provider) Name() string

Name is used only for testing.

func (*Provider) UnmarshalSession

func (p *Provider) UnmarshalSession(data string) (goth.Session, error)

UnmarshalSession is used only for testing.

type Session

type Session struct {
	Name  string
	Email string
}

Session is used only for testing.

func (*Session) Authorize

func (p *Session) Authorize(provider goth.Provider, params goth.Params) (string, error)

Authorize is used only for testing.

func (*Session) GetAuthURL

func (p *Session) GetAuthURL() (string, error)

GetAuthURL is used only for testing.

func (*Session) Marshal

func (p *Session) Marshal() string

Marshal is used only for testing.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL