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-04 #5

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f4a551c
Added Web Trends
AzureAdvocateBit Apr 5, 2021
2f6c1ed
Added Web Trends
AzureAdvocateBit Apr 5, 2021
7bd38db
Added Web Trends
AzureAdvocateBit Apr 5, 2021
caf55a5
Added Web Trends
AzureAdvocateBit Apr 5, 2021
e5478e2
Added Web Trends
AzureAdvocateBit Apr 5, 2021
4499cf1
Added Web Trends
AzureAdvocateBit Apr 5, 2021
06c37db
Added Web Trends
AzureAdvocateBit Apr 5, 2021
8d7dc36
Added Web Trends
AzureAdvocateBit Apr 5, 2021
55ff936
Added Web Trends
AzureAdvocateBit Apr 5, 2021
bc47e86
Added Web Trends
AzureAdvocateBit Apr 6, 2021
9ebe3ce
Added Web Trends
AzureAdvocateBit Apr 6, 2021
4b516c9
Added Web Trends
AzureAdvocateBit Apr 8, 2021
91a38f5
Added Web Trends
AzureAdvocateBit Apr 8, 2021
c7c386b
Added Web Trends
AzureAdvocateBit Apr 8, 2021
4a17433
Added Web Trends
AzureAdvocateBit Apr 8, 2021
b581010
Added Web Trends
AzureAdvocateBit Apr 8, 2021
85766f3
Added Web Trends
AzureAdvocateBit Apr 8, 2021
fa62070
Added Web Trends
AzureAdvocateBit Apr 8, 2021
734e1e3
Added Web Trends
AzureAdvocateBit Apr 8, 2021
670184b
Added Web Trends
AzureAdvocateBit Apr 11, 2021
ea98511
Added Web Trends
AzureAdvocateBit Apr 11, 2021
a328ce9
Added Web Trends
AzureAdvocateBit Apr 11, 2021
b21630c
Added Web Trends
AzureAdvocateBit Apr 11, 2021
f12f7ff
Added Web Trends
AzureAdvocateBit Apr 11, 2021
c47a019
Added Web Trends
AzureAdvocateBit Apr 11, 2021
9054a97
Added Web Trends
AzureAdvocateBit Apr 11, 2021
475585b
Added Web Trends
AzureAdvocateBit Apr 11, 2021
e246fd7
Added Web Trends
AzureAdvocateBit Apr 11, 2021
42b813a
Added Web Trends
AzureAdvocateBit Apr 11, 2021
c328a5e
Added Web Trends
AzureAdvocateBit Apr 11, 2021
67e0ad5
Added Web Trends
AzureAdvocateBit Apr 11, 2021
7f81c0d
Added Web Trends
AzureAdvocateBit Apr 11, 2021
a87cd38
Added Web Trends
AzureAdvocateBit Apr 11, 2021
2484b95
Added Web Trends
AzureAdvocateBit Apr 11, 2021
77abd14
Added Web Trends
AzureAdvocateBit Apr 11, 2021
fb06eea
Added Web Trends
AzureAdvocateBit Apr 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