auth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthErr

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

func (AuthErr) Error

func (e AuthErr) Error() string

type AuthenticationResult

type AuthenticationResult struct {
	Token      string
	ValidUntil time.Time
}

type AuthenticationService

type AuthenticationService struct {
	AuthServerURL string
}

func (*AuthenticationService) Authenticate

func (a *AuthenticationService) Authenticate(emailAddress string, password string) (*AuthenticationResult, error)

type InvalidCredentialsErr

type InvalidCredentialsErr struct{}

func (InvalidCredentialsErr) Error

func (e InvalidCredentialsErr) Error() string

Jump to

Keyboard shortcuts

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