Exemple #1
0
        public async Task <string> Authenticate(LoginApiRequest request)
        {
            var firebaseRequest = new VerifyPasswordRequest()
            {
                Email    = request.Login,
                Password = request.Password
            };
            var response = await _firebaseAuthService.VerifyPasswordAsync(firebaseRequest);

            return(response.IdToken);
        }