예제 #1
0
        public string GetLostPasswordClaim(string passwordClaimKey, string sharedClientKey)
        {
            // Ensure the clients are certified.
            if (sharedClientKey != Sahara.Core.Platform.Requests.RequestManager.SharedClientKey)
            {
                return(null);
            }

            try
            {
                return(PlatformUserManager.GetPasswordClaim(passwordClaimKey).Email);
            }
            catch
            {
                return(null);
            }
        }