mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
support Nextcloud OAuth 2.0 authentication
This commit is contained in:
@@ -12,6 +12,9 @@ type CliHandlerFunc func(*CliContext) error
|
||||
// MiddlewareHandlerFunc represents the middleware handler function
|
||||
type MiddlewareHandlerFunc func(*WebContext)
|
||||
|
||||
// RedirectHandlerFunc represents the redirect handler function
|
||||
type RedirectHandlerFunc func(*WebContext) (string, *errs.Error)
|
||||
|
||||
// ApiHandlerFunc represents the api handler function
|
||||
type ApiHandlerFunc func(*WebContext) (any, *errs.Error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user