Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
2feeb48
First working version of Meetup provider
dance2die Feb 23, 2018
c3ee580
Removed commented-out code and an unused using reference
dance2die Feb 24, 2018
a3447be
Mapped all user's claim options
dance2die Feb 24, 2018
7037b3c
Added Meetup provider to the solution
dance2die Feb 24, 2018
42e771c
Updated indentation as suggested by "kinosang" on https://github.com/…
dance2die Feb 24, 2018
522fb33
Fixed indentation as suggested by kinosang on #220
dance2die Feb 24, 2018
8648b81
Introduced a ClaimType static constant class "MeetupClaimTypes" as su…
dance2die Feb 24, 2018
f15cb87
Updated Meetup package author & company in the package (I have forgot…
dance2die Feb 24, 2018
1d66b8f
Migrate to the latest KoreBuild version
kevinchalet Feb 28, 2018
cb903be
First working version of Meetup provider
dance2die Feb 23, 2018
eef1c57
Removed commented-out code and an unused using reference
dance2die Feb 24, 2018
e8a00a2
Mapped all user's claim options
dance2die Feb 24, 2018
4d32726
Added Meetup provider to the solution
dance2die Feb 24, 2018
f3a1c26
Updated indentation as suggested by "kinosang" on https://github.com/…
dance2die Feb 24, 2018
8f6c909
Fixed indentation as suggested by kinosang on #220
dance2die Feb 24, 2018
79d08a8
Introduced a ClaimType static constant class "MeetupClaimTypes" as su…
dance2die Feb 24, 2018
7fe7f1b
Updated Meetup package author & company in the package (I have forgot…
dance2die Feb 24, 2018
ddf0259
Took remote solution
dance2die Feb 28, 2018
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
Prev Previous commit
Next Next commit
Updated indentation as suggested by "kinosang" on #220 (comment)
  • Loading branch information
dance2die committed Feb 28, 2018
commit f3a1c2673e8c7c71af8d9d11a5ae4b8bfebe9101
16 changes: 8 additions & 8 deletions src/AspNet.Security.OAuth.Meetup/MeetupAuthenticationOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public MeetupAuthenticationOptions()
ClaimActions.MapJsonKey(ClaimTypes.Name, "name");
ClaimActions.MapJsonKey(ClaimTypes.Email, "email");

// Map custom claims
// Map custom claims
ClaimActions.MapJsonKey("urn:meetup:name", "name");
Copy link
Contributor

Choose a reason for hiding this comment

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

See #216, it introduces ClaimTypes constants for the claims.

Copy link
Author

Choose a reason for hiding this comment

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

OK, let me refer to the #216

ClaimActions.MapJsonKey("urn:meetup:status", "status");
ClaimActions.MapJsonKey("urn:meetup:lat", "lat");
Expand All @@ -41,13 +41,13 @@ public MeetupAuthenticationOptions()
ClaimActions.MapJsonKey("urn:meetup:localized_country_name", "localized_country_name");
ClaimActions.MapJsonKey("urn:meetup:state", "state");

// Map user's photo information returned as a nested object
ClaimActions.MapJsonSubKey("urn:meetup:photo.id", "photo", "id");
ClaimActions.MapJsonSubKey("urn:meetup:photo.highres_link", "photo", "highres_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.photo_link", "photo", "photo_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.thumb_link", "photo", "thumb_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.base_url", "photo", "base_url");
ClaimActions.MapJsonSubKey("urn:meetup:photo.type", "photo", "type");
// Map user's photo information returned as a nested object
ClaimActions.MapJsonSubKey("urn:meetup:photo.id", "photo", "id");
ClaimActions.MapJsonSubKey("urn:meetup:photo.highres_link", "photo", "highres_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.photo_link", "photo", "photo_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.thumb_link", "photo", "thumb_link");
ClaimActions.MapJsonSubKey("urn:meetup:photo.base_url", "photo", "base_url");
ClaimActions.MapJsonSubKey("urn:meetup:photo.type", "photo", "type");
}
}
}