1
0
Fork 0
mirror of https://github.com/diamondburned/cchat.git synced 2024-10-31 20:04:33 +00:00
cchat/cmd/internal
diamondburned 955b99c9b6 Added AuthenticateError
This commit broke both the cchat API and its repository generation API
to accomodate for custom error types, as the new Authenticator API now
uses AuthenticateError over error to add in multi-stage authentication
instead of the old method with the for loop.

This commit also removed the multistage example documented in
Authenticator, as the API is now clearer.

This commit also added the WrapAuthenticateError helper function that
wraps a normal error into an AuthenticateError that does not have a
NextStage return. Backends should use this for
2020-10-27 13:33:52 -07:00
..
cchat-empty-gen Regenerated code to adhere to codegen header 2020-10-04 14:33:57 -07:00
cchat-generator Added AuthenticateError 2020-10-27 13:33:52 -07:00
cchat-gob-gen Added AuthenticateError 2020-10-27 13:33:52 -07:00