summaryrefslogtreecommitdiff
path: root/shrine/types/request.go
blob: a782efd45eb094d5587c6af3fa520c78e24dd1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package types

type RegisterRequest struct {
	Username    string `json:"username"`
	Email       string `json:"email"`
	Password    string `json:"password"`
	DisplayName string `json:"display_name"`
}

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type VerifyRequest struct {
	Token string `json:"token"`
	Type  string `json:"type"`
}

type ResendActivationRequest struct {
	Email string `json:"email"`
}