auth

package
v0.0.0-...-418de2e Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager provides cached authentication from GCS via user name and token

func NewManager

func NewManager(ctx context.Context, gcsBucket string) (*Manager, error)

NewManager connects to GCS

func (*Manager) CheckAccess

func (am *Manager) CheckAccess(user, token string) error

CheckAccess returns nil if access is granted

Jump to

Keyboard shortcuts

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