[IMAP的O365 OAuth 2.0支持

问题描述 投票:0回答:1

通过OAuth 2.0 support for IMAP的新推出,我可以使用合并范围生成令牌

https://outlook.office365.com/IMAP.AccessAsUser.All

但是我仍然得到

A1没有授权失败

我正在使用以下属性:

props.put("mail.imap.ssl.enable", "true"); 
props.put("mail.imap.auth.mechanisms","XOAUTH2");
props.put("mail.imap.auth.plain.disable", "true");
oauth-2.0 microsoft-graph imap microsoft365
1个回答
0
投票

{“ album”:“ string”,“ albumArtist”:“字符串”,“ artist”:“ string”,“比特率”:128,“ composers”:“ string”,“ copyright”:“ string”,“ disc”:0,“ discCount”:0,“持续时间”:567,“ genre”:“ string”,“ hasDrm”:否,“ isVariableBitrate”:否,“ title”:“ string”,“曲目”:1,“ trackCount”:16“年”:2014}

© www.soinside.com 2019 - 2024. All rights reserved.