简体   繁体   English

python库和使用oauth2的gmail smtp示例

[英]python library and example for gmail smtp using oauth2

The python oauth2 library seems to implement oauth 1.0 protocol. python oauth2库似乎实现了oauth 1.0协议。 The import oauth2 as oauth is misleading, most probably it is referred to the 2nd version of the python lib implementing oauth 1.0. import oauth2 as oauth会产生误导,很可能是引用了实现oauth 1.0的python lib的第二版。

Is there any python library implementing the oauth 2.0 protocol? 有没有实现oauth 2.0协议的python库? and also sample for using it. 并提供使用示例。

i tried google but failed to find any. 我尝试谷歌,但没有找到任何。

You should really give a try to rauth . 您应该尝试尝试rauth It supports OAuth 1.0/a and 2.0 它支持OAuth 1.0 / a和2.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM