-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NguyenHCP] feat: login google with firebase
- Loading branch information
1 parent
2e43143
commit 4850b11
Showing
4 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/swp/PodBookingSystem/dto/request/Authentication/FirebaseToken.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.swp.PodBookingSystem.dto.request.Authentication; | ||
|
||
import lombok.*; | ||
import lombok.experimental.FieldDefaults; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
@FieldDefaults(level = AccessLevel.PRIVATE) | ||
public class FirebaseToken { | ||
String email; | ||
String name; | ||
String avatar; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/swp/PodBookingSystem/dto/request/Authentication/LoginGoogleRes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.swp.PodBookingSystem.dto.request.Authentication; | ||
|
||
import lombok.*; | ||
import lombok.experimental.FieldDefaults; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
@FieldDefaults(level = AccessLevel.PRIVATE) | ||
public class LoginGoogleRes { | ||
String url; | ||
} |