drone/internal/api/middleware
Johannes Batzill 8c2f900c80 Principals, ServiceAccounts, Tokens and auth.Sessions (#15)
This change introduces the concept of a principal (abstraction of call identity), and adds a new service account type principal. Also adds support for different tokens (session, PAT, SAT, OAuth2) and adds auth.Session which is being used to capture information about the caller and call method.
2022-09-25 23:44:51 -07:00
..
accesslog Improve error handling to match go standards - don't wrap and rethrow, but log and return. Also adds some more validations for path creation and resource moving. Add accesslogging for git and api router (#14) 2022-09-09 22:08:46 -07:00
address [MAINT] initial config for ci linter (#17) 2022-09-19 18:13:18 +02:00
authn Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
encode [MAINT] initial config for ci linter (#17) 2022-09-19 18:13:18 +02:00
resolve Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00