Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddWebTrends-2021-02 #4

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
18d58f9
Added Web Trends
AzureAdvocateBit Feb 5, 2021
887d086
Added Web Trends
AzureAdvocateBit Feb 5, 2021
c805ca9
Added Web Trends
AzureAdvocateBit Feb 5, 2021
dc6d4d0
Added Web Trends
AzureAdvocateBit Feb 5, 2021
53c4d68
Added Web Trends
AzureAdvocateBit Feb 5, 2021
124e927
Added Web Trends
AzureAdvocateBit Feb 5, 2021
6bf92c7
Added Web Trends
AzureAdvocateBit Feb 5, 2021
5c8fa2e
Added Web Trends
AzureAdvocateBit Feb 5, 2021
fe51d6e
Added Web Trends
AzureAdvocateBit Feb 5, 2021
d5a0f8b
Added Web Trends
AzureAdvocateBit Feb 5, 2021
e19196d
Added Web Trends
AzureAdvocateBit Feb 6, 2021
fbdb816
Added Web Trends
AzureAdvocateBit Feb 6, 2021
6110e79
Added Web Trends
AzureAdvocateBit Feb 6, 2021
034c2c3
Added Web Trends
AzureAdvocateBit Feb 6, 2021
80df523
Added Web Trends
AzureAdvocateBit Feb 6, 2021
b66e75f
Added Web Trends
AzureAdvocateBit Feb 6, 2021
e34fc36
Added Web Trends
AzureAdvocateBit Feb 6, 2021
e99f5bf
Added Web Trends
AzureAdvocateBit Feb 6, 2021
8a3a0a6
Added Web Trends
AzureAdvocateBit Feb 6, 2021
0df3eb2
Added Web Trends
AzureAdvocateBit Feb 6, 2021
cc53635
Added Web Trends
AzureAdvocateBit Feb 7, 2021
306dcba
Added Web Trends
AzureAdvocateBit Feb 7, 2021
d51463c
Added Web Trends
AzureAdvocateBit Feb 7, 2021
27ef413
Added Web Trends
AzureAdvocateBit Feb 7, 2021
fc17e5c
Added Web Trends
AzureAdvocateBit Feb 7, 2021
61d850e
Added Web Trends
AzureAdvocateBit Feb 7, 2021
e1a8aff
Added Web Trends
AzureAdvocateBit Feb 10, 2021
6840033
Added Web Trends
AzureAdvocateBit Feb 10, 2021
eb202b0
Added Web Trends
AzureAdvocateBit Feb 10, 2021
1f0e5d8
Added Web Trends
AzureAdvocateBit Feb 10, 2021
6a00325
Added Web Trends
AzureAdvocateBit Feb 10, 2021
26fa82d
Added Web Trends
AzureAdvocateBit Feb 10, 2021
0ec51a4
Added Web Trends
AzureAdvocateBit Feb 10, 2021
9c260f3
Added Web Trends
AzureAdvocateBit Feb 10, 2021
10474ce
Added Web Trends
AzureAdvocateBit Feb 10, 2021
52ae853
Added Web Trends
AzureAdvocateBit Feb 10, 2021
d79230b
Added Web Trends
AzureAdvocateBit Feb 11, 2021
d584bd3
Added Web Trends
AzureAdvocateBit Feb 12, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Welcome back to Partly Cloudy! The show where you learn how to build a cloud-con

In this episode we add something that every app needs - but it's sometimes tricky to do ... add authentication!!

[Check out the show](https://channel9.msdn.com/Shows/Partly-Cloudy/Who-Are-You-App-Center-Auth?WT.mc_id=partlycloudy-github-masoucou) - then come on back to get a recap on what happened and some extra pointers on some stuff I had to gloss over. (Or if you need to catch up - [all the episodes are here](https://channel9.msdn.com/Shows/Partly-Cloudy?WT.mc_id=partlycloudy-github-masoucou)!)
[Check out the show](https://channel9.msdn.com/Shows/Partly-Cloudy/Who-Are-You-App-Center-Auth?WT.mc_id=mobile-0000-masoucou) - then come on back to get a recap on what happened and some extra pointers on some stuff I had to gloss over. (Or if you need to catch up - [all the episodes are here](https://channel9.msdn.com/Shows/Partly-Cloudy?WT.mc_id=mobile-0000-masoucou)!)

## Authentication

Expand All @@ -14,13 +14,13 @@ So how do we do this?

### App Center

That's right, we use [App Center](https://docs.microsoft.com/appcenter/auth/?WT.mc_id=partlycloudy-github-masoucou) to allow users to create accounts and sign-in to the application! Actually, App Center provides a nice wrapper around [Azure AD B2C](https://docs.microsoft.com/azure/active-directory-b2c/?WT.mc_id=partlycloudy-github-masoucou) and [MSAL](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki). It's B2C that holds the user store and all that goodness. And MSAL is the SDK that interacts with B2C and handles all lowdown OAuth stuff.
That's right, we use [App Center](https://docs.microsoft.com/appcenter/auth/?WT.mc_id=mobile-0000-masoucou) to allow users to create accounts and sign-in to the application! Actually, App Center provides a nice wrapper around [Azure AD B2C](https://docs.microsoft.com/azure/active-directory-b2c/?WT.mc_id=mobile-0000-masoucou) and [MSAL](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki). It's B2C that holds the user store and all that goodness. And MSAL is the SDK that interacts with B2C and handles all lowdown OAuth stuff.

But App Center wraps them in a super duper easy to use SDK.

### Authenticating Users

I won't reiterate how to set everything up - rather I'll point you to the [documentation](https://docs.microsoft.com/appcenter/sdk/auth/xamarin?WT.mc_id=partlycloudy-github-masoucou). It's thorough. It's correct. It's kept up to date.
I won't reiterate how to set everything up - rather I'll point you to the [documentation](https://docs.microsoft.com/appcenter/sdk/auth/xamarin?WT.mc_id=mobile-0000-masoucou). It's thorough. It's correct. It's kept up to date.

Once you have everything setup for Azure AD B2C, connected it to App Center, [added the NuGet](https://www.nuget.org/packages/Microsoft.AppCenter.Auth/), and then initialized in your `info.plist` and `AndroidManifest.xml` you're ready to do some coding.

Expand Down