OAuth: ask tenant

This commit is contained in:
M66B
2022-03-24 00:19:28 +01:00
parent 632a82a870
commit 83731d082e
3 changed files with 10 additions and 2 deletions

View File

@@ -1291,5 +1291,10 @@ public class EmailProvider implements Parcelable {
String privacy;
String prompt;
Map<String, String> parameters;
boolean askTenant() {
return (authorizationEndpoint.contains("{tenant}") ||
tokenEndpoint.contains("{tenant}"));
}
}
}