Skip to content

Commit

Permalink
cria service para login social
Browse files Browse the repository at this point in the history
  • Loading branch information
castroricardo1 committed Dec 2, 2023
1 parent cc7cff4 commit a023558
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export class AuthService {
return this.http.post(`${this.usersAPIURL}/auth/login`, user);
}

loginSocialUser(userSocialData: any): Observable<any> {
return this.http.post(`${this.usersAPIURL}/auth/login/social`, userSocialData);
}

activeAccount(emailCode: any): Observable<any> {
return this.http.patch(`${this.usersAPIURL}/auth/activate-account`, emailCode);
}
Expand Down

0 comments on commit a023558

Please sign in to comment.