blob: efa7c85405a8211cbe99a07cf0ed4bb3950eccbc [file] [log] [blame]
Samuel A. Falvo II8a549ef2014-01-24 15:20:54 -08001package identity
2
3import "fmt"
4
Samuel A. Falvo II2b963212014-02-09 02:12:30 -08005// ErrNotImplemented errors may occur in two contexts:
6// (1) development versions of this package may return this error for endpoints which are defined but not yet completed, and,
7// (2) production versions of this package may return this error when a provider fails to offer the requested Identity extension.
8//
9// ErrEndpoint errors occur when the authentication URL provided to Authenticate() either isn't valid
10// or the endpoint provided doesn't respond like an Identity V2 API endpoint should.
11//
12// ErrCredentials errors occur when authentication fails due to the caller possessing insufficient access privileges.
13var (
14 ErrNotImplemented = fmt.Errorf("Identity feature not yet implemented")
15 ErrEndpoint = fmt.Errorf("Improper or missing Identity endpoint")
16 ErrCredentials = fmt.Errorf("Improper or missing Identity credentials")
17)