2024-04-29 19:02:10 发布
网友
我已经了解了lepture的authlib是如何工作的,我有一点障碍,库中有类似于SQLAlchemy的授权代码等模型混合,但是它是为sqla设计的,有可能在mongodb中实现authlib吗?谢谢
是的。您只需要实现ClientMixin、AuthorizationCodeMixin和TokenMixin缺少的方法。你知道吗
ClientMixin
AuthorizationCodeMixin
TokenMixin
在文档https://docs.authlib.org/en/latest/flask/2/authorization-server.html中有如下句子:
以下是混音:
签出https://github.com/opendatateam/udata此项目正在使用mongodb。你知道吗
是的。您只需要实现
ClientMixin
、AuthorizationCodeMixin
和TokenMixin
缺少的方法。你知道吗在文档https://docs.authlib.org/en/latest/flask/2/authorization-server.html中有如下句子:
以下是混音:
签出https://github.com/opendatateam/udata此项目正在使用mongodb。你知道吗
相关问题 更多 >
编程相关推荐