Added logic to register by discord #70
This commit is contained in:
3
kdb-web/src/app/models/auth/discord-auth-url.dto.ts
Normal file
3
kdb-web/src/app/models/auth/discord-auth-url.dto.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface DiscordAuthURL {
|
||||
loginUrl: string;
|
||||
}
|
6
kdb-web/src/app/models/auth/oauth.dto.ts
Normal file
6
kdb-web/src/app/models/auth/oauth.dto.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { AuthUserDTO } from "./auth-user.dto";
|
||||
|
||||
export interface OAuthDTO {
|
||||
user: AuthUserDTO;
|
||||
oAuthId: string;
|
||||
}
|
Reference in New Issue
Block a user