Skip to content

Conversation

shoatman
Copy link
Contributor

  • Added test strategy document

@shahzaibj
Copy link
Contributor

shahzaibj commented May 24, 2021

Looks like some duplicated content from what is declared here: https://github.com/AzureAD/android-complete/blob/master/docs/Automation/testing_overview.md#android-auth-library-testing-philosophy

Can we just keep all testing / automation docs in the existing automation folder? https://github.com/AzureAD/android-complete/tree/a430a4566336d3175c4a650d6dea9db5dd53342e/docs/Automation

I personally also like to maintain an index file for easy linking: https://github.com/AzureAD/android-complete/blob/master/docs/Automation/index.md

- GetAccounts (MSAL) / GetUsers (ADAL) - Enumerate all accounts currently available to the client app. If the broker is not installed then the request is to the client local cache. If the broker is installed then account returned from the broker are unioned with accounts in the local cache.
- GetAccount (MSAL) / GetUser (ADAL) - Get a specific account from from the library OR broker if installed. Will check the local cache for the specified account by ID (upn/object id, etc...). If not in the local cache will also check the broker.
- Tenant Profiles (MSAL Only) for MSAL accounts we allow the user to access tenant profiles. These are tenant specific claims from the id_tokens associated with requests to different tenants.
- GetCurrentAccount (MSAL Single Account PCA Only) - Gets the current account from the local cache when the broker is not installed. Get the current account from the broker when installed. The account returned may be different (different account or null) for the current account. Null meaning that no account should be signed in currently. A different account meaning that
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A different account meaning that

Probably info left to fill here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants