You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
The `Scopes` parameter indicates the permissions the application needs to gain access to the data requested through subsequent web API call (in this sample, encapsulated in `OnCallApi`). Scopes should be input in the following format: `https://{tenant_name}.onmicrosoft.com/{app_name}/{scope_value}`
175
177
176
-
The `.WithParentActivityOrWindow()` isusedinAndroidtotietheauthenticationflowtothecurrentactivity, andisignoredonallotherplatforms. Formoreplatformspecificconsiderations, pleaseseebelow.
178
+
The `.WithParentActivityOrWindow()` is used in Android to tie the authentication flow to the current activity, and is ignored on all other platforms. That code ensures that the authentication flows occur in the context of the current activity.
177
179
178
180
The sign out logic is very simple. In this sample we have just one user, however we are demonstrating a more generic sign out logic that you can apply if you have multiple concurrent users and you want to clear up the entire cache.
179
181
@@ -189,7 +191,7 @@ foreach (var account in accounts.ToArray())
189
191
190
192
The platform specific projects require only a couple of extra lines to accommodate for individual platform differences.
0 commit comments