auth

package
v0.0.0-...-d078efc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	Authenticate(ctx context.Context) (context.Context, error)
	IsAuthenticated(ctx context.Context) bool
	UserID(ctx context.Context) (model.UserID, error)
	ListUserID(ctx context.Context, pageToken string) (ids []model.UserID, nextPageToken string, err error)
}

Authenticator provides authentication methods.

Jump to

Keyboard shortcuts

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