provider

package
v1.20.0-dexcom-api.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const ProviderType = "oauth"

Variables

This section is empty.

Functions

func SplitScopes

func SplitScopes(scopes string) []string

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(name string, configReporter config.Reporter) (*Provider, error)

func (*Provider) Config

func (p *Provider) Config() *oauth2.Config

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) OnCreate

func (p *Provider) OnCreate(ctx context.Context, userID string, providerSessionID string) error

func (*Provider) OnDelete

func (p *Provider) OnDelete(ctx context.Context, userID string, providerSessionID string) error

func (*Provider) State

func (p *Provider) State(restrictedToken string) string

func (*Provider) Type

func (p *Provider) Type() string

Jump to

Keyboard shortcuts

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