mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
MSAL try
This commit is contained in:
parent
241f660c23
commit
7cf7237101
1 changed files with 2 additions and 2 deletions
|
@ -1068,7 +1068,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
// https://docs.microsoft.com/en-us/graph/permissions-reference
|
// https://docs.microsoft.com/en-us/graph/permissions-reference
|
||||||
new String[]{
|
new String[]{
|
||||||
"openid", "offline_access", "profile", "email",
|
"openid", "offline_access", "profile", "email",
|
||||||
"User.ReadBasic.All", "Mail.ReadWrite", "Mail.Send", "MailboxSettings.ReadWrite"},
|
"User.Read", "Mail.ReadWrite", "Mail.Send", "MailboxSettings.ReadWrite"},
|
||||||
new AuthenticationCallback() {
|
new AuthenticationCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(IAuthenticationResult result) {
|
public void onSuccess(IAuthenticationResult result) {
|
||||||
|
@ -1127,7 +1127,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
@Override
|
@Override
|
||||||
protected Void onExecute(Context context, Bundle args) throws Throwable {
|
protected Void onExecute(Context context, Bundle args) throws Throwable {
|
||||||
String token = args.getString("token");
|
String token = args.getString("token");
|
||||||
String email = args.getString("id");
|
String email = args.getString("email");
|
||||||
String displayName = args.getString("displayName");
|
String displayName = args.getString("displayName");
|
||||||
|
|
||||||
List<EntityFolder> folders;
|
List<EntityFolder> folders;
|
||||||
|
|
Loading…
Reference in a new issue