package
0.0.0-20240126113131-96f70967c38c
Repository: https://github.com/nais/teams-backend.git
Documentation: pkg.go.dev
# Functions
ApiKeyAuthentication If the request has an authorization header, we will try to pull the service account who owns it from the database and put the account into the context.
IAPAuthentication authenticates a request using IAP headers.
No description provided by the author
Oauth2Authentication If the request has a session cookie, look up the session from the store, and if it exists, try to load the user with the email address stored in the session.