mirror of
https://github.com/diamondburned/cchat.git
synced 2024-10-31 20:04:33 +00:00
diamondburned
955b99c9b6
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 |
||
---|---|---|
.. | ||
cchat-empty-gen | ||
cchat-generator | ||
cchat-gob-gen |