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

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"`
}