mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Switch /api/user to api key auth
This commit is contained in:
@@ -9,7 +9,7 @@ oauth = { 'authentication': OAuthAuthentication() }
|
||||
noauth = { 'authentication': NoAuthentication() }
|
||||
apikeyauth = { 'authentication': APIKeyAuthentication() }
|
||||
|
||||
user_resource = Resource(handler=UserHandler, **oauth)
|
||||
user_resource = Resource(handler=UserHandler, **apikeyauth)
|
||||
login_resource = Resource(handler=LoginHandler, **noauth)
|
||||
eveapi_resource = Resource(handler=EveAPIHandler, **apikeyauth)
|
||||
eveapiproxy_resource = Resource(handler=EveAPIProxyHandler, **apikeyauth)
|
||||
|
||||
Reference in New Issue
Block a user