create package server.auth with module oidc (former server.auth module)

This commit is contained in:
Helmut Merz 2025-04-20 11:10:05 +02:00
parent 67985a6bdb
commit bba081156b
3 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@ class Publication(DefaultPublication):
def beforeTraversal(self, request):
super(Publication, self).beforeTraversal(request)
from scopes.server.auth import authentication
from scopes.server.auth.oidc import authentication
prc = authentication.authenticate(request)
request.setPrincipal(prc)

View file

@ -0,0 +1 @@
"""package scopes.server.auth"""