Esempio n. 1
0
        public IActionResult FacebookAuth([FromBody] FacebookAuthModel authModel)
        {
            authModel.UserId      = authModel.UserId;
            authModel.AccessToken = authModel.AccessToken;
            var result = _authervice.AuthenticateByFaceBook(authModel.AccessToken, authModel.UserId);

            return(Ok(result));
        }