//
pkg.gl
Category
github.com/ubuntu/aad-auth
internal
aad
package
0.5.2
Repository:
https://github.com/ubuntu/aad-auth.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
1
Files
216 SLOC
#
Functions
NewWithMockClient
NewWithMockClient returns a mock AAD client that can be controlled through input for tests.
#
Variables
ErrDeny
ErrDeny is returned in case of denial returned by AAD.
ErrNoNetwork
ErrNoNetwork is returned in case of no network available.
#
Structs
AAD
AAD holds the authentication mechanism (real or mock).