package
0.0.2
Repository: https://github.com/imageware/tlsential.git
Documentation: pkg.go.dev

# Functions

NewAuthHandler returns a instantiated AuthHandler for use in a router.
No description provided by the author
NewChallengeHandler takes a config.Service and returns a working ConfigHandler.
NewConfigHandler takes a config.Service and returns a working ConfigHandler.
NewHandler creates a new apiHandler with given UserService and ConfigService.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrAuthFailed is for authentication failures of most types.
ErrAuthInvalidCreds means your credentials were not parsed properly or did not match.
400.
No description provided by the author
No description provided by the author
ErrInvalidUserName gives info to what a valid username should look like.
ErrInvalidUserPassword shows what a valid password should consist of.
ErrInvalidUserRole simply tells whether a role exists or not.
400.
400.

# Structs

CertReq is used for parsing API input.
CertResp is used for exporting User data via API responses.
UserReq is used for parsing API input.
UserResp is used for exporting User data via API responses.

# Interfaces

AuthHandler provides an interface for all calls to the api/authenticate endpoints.
No description provided by the author
ChallengeHandler provides endpoints for all api/config/ calls.
ConfigHandler provides endpoints for all api/config/ calls.
Handler provides an interface for all api/calls.
No description provided by the author
No description provided by the author