香港绿洲公用图书馆
django-kongoauth的Python项目详细描述
#kongauth
一组实用程序,用于使用django rest framework实现kong oauth
\
]
```
**添加drf身份验证类**
````
rest\u framework={
…
“默认身份验证类”:(
…
“kongauth.authentication.kongauth authentication”,
)
…
}
```
**可选设置**
*`auth_redis_key`
*`redis_conn``使用redis的字典配置
\run the tests
`````
docker compose run--rm web python example/manage.py test
```
一组实用程序,用于使用django rest framework实现kong oauth
\
]
```
**添加drf身份验证类**
````
rest\u framework={
…
“默认身份验证类”:(
…
“kongauth.authentication.kongauth authentication”,
)
…
}
```
**可选设置**
*`auth_redis_key`
*`redis_conn``使用redis的字典配置
\run the tests
`````
docker compose run--rm web python example/manage.py test
```