drone/internal/api
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
..
guard Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
handler Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
middleware Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
openapi Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
render Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
request Principals, ServiceAccounts, Tokens and auth.Sessions (#15) 2022-09-25 23:44:51 -07:00
api.go Add base structure for rest api, git api, web api. Add base authn and authz, as well as spaces and repository apis 2022-09-05 13:47:00 -07:00