Пример #1
0
        public int? RegisterUsingGoogle(string idToken)
        {
            var googleIdentifier = GetVerifiedGoogleIdentifier(idToken);

            if (googleIdentifier == null)
            {
                return null;
            }

            var parameters = new GoogleUserCreationParameters(googleIdentifier);
            var user = dal.Create(parameters);
            return user.Id;
        }
Пример #2
0
 public IUserDao Create(GoogleUserCreationParameters parameters)
 {
     throw new NotImplementedException();
 }