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