LoginRadius / dot-net-sdk

The LoginRadius ASP.NET library will let you integrate LoginRadius' customer identity platform with your ASP.Net application(s).
https://www.loginradius.com
MIT License
8 stars 22 forks source link

changed guid check from regex to tryparse #1

Closed phillip-haydon closed 6 years ago

phillip-haydon commented 12 years ago

Changed the Guid checking from the use of a regular expression to Guid.TryPrase. It just seems a lot safer using Guid.TryParse which by default handles both scenarios the regular expression was handling

http://msdn.microsoft.com/en-us/library/system.guid.tryparse.aspx

// Converted {81a130d2-502f-4cf1-a376-63edeb000e9f} to a Guid // Converted 81a130d2-502f-4cf1-a376-63edeb000e9f to a Guid

kunal-saini commented 6 years ago

Hi @phillip-haydon , LoginRadius has released a new version of the API SDK (5.0.0) with several new changes and additions which is based on LoginRadius API V2 (version 2). PS : For, API V1 there is a separate branch. further details regarding the release changes, please see here.