This repository was archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Adding b2c #44
Open
codemillmatt
wants to merge
8
commits into
xamarinhq:master
Choose a base branch
from
codemillmatt:adding-b2c
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adding b2c #44
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e0fb05e
Merge remote-tracking branch 'xamarinhq/master'
codemillmatt 4e6cc97
B2C!
codemillmatt 46ba6df
B2C on iOS
codemillmatt 4f4d684
Ability to use either MSFT or B2C credentials
codemillmatt b885b77
Gettings functions to work & updating nugets
codemillmatt 861bdbc
Merge branch 'master' into adding-b2c
jamesmontemagno 9031664
Using MSFT AAD by default, update info.plist
codemillmatt 077ee69
Updating build scripts for b2c switch
codemillmatt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 113 additions & 0 deletions
113
src/GeoContacts/GeoContacts.Android/Resources/Resource.designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,23 @@ public class CommonConstants | |
#endregion | ||
|
||
#region AD | ||
public const bool USE_MSFT = false; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you set make a string to replace on the build server that this checks..
and I will swap: AC_USEMSFT_NO with AC_USEMSFT |
||
|
||
public const string ADApplicationID = "8f999c10-2a7f-403c-b20b-cbe07b319cf3"; | ||
public const string ADRedirectID = "msal" + ADApplicationID + "://auth"; | ||
public static readonly string[] ADScopes = new string[] { "user.read" }; | ||
public const string ADAuthority = "https://login.microsoftonline.com/organizations/"; | ||
|
||
public const string B2CTenant = "geocontacts.onmicrosoft.com"; | ||
public const string B2CClientID = "8aea67fd-38da-49a1-8f68-ca0c9e9e2501"; | ||
public const string B2CPolicy = "B2C_1_SignInUp"; | ||
|
||
public const string B2CAuthorityBase = "https://login.microsoftonline.com/tfp/" + B2CTenant + "/"; | ||
public const string B2CAuthority = B2CAuthorityBase + B2CPolicy; | ||
|
||
public const string B2CRedirectUrl = "msal" + B2CClientID + "://auth"; | ||
public static readonly string[] B2CScopes = new string[] { "https://geocontacts.onmicrosoft.com/geocontacts/login" }; | ||
|
||
#endregion | ||
|
||
#region LocationFunction | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would assume on the server we need to update the scripts to swap these out. Can you update the script in there.