feat: add mutation to generate new jwt secret & keys

Resolves: #150
This commit is contained in:
Lakhan Samani
2022-03-24 19:21:52 +05:30
parent b2541c8e9a
commit 90e2709eeb
6 changed files with 431 additions and 2 deletions

View File

@@ -75,6 +75,16 @@ type ForgotPasswordInput struct {
RedirectURI *string `json:"redirect_uri"`
}
type GenerateJWTKeysInput struct {
Type string `json:"type"`
}
type GenerateJWTKeysResponse struct {
Secret *string `json:"secret"`
PublicKey *string `json:"public_key"`
PrivateKey *string `json:"private_key"`
}
type InviteMemberInput struct {
Emails []string `json:"emails"`
RedirectURI *string `json:"redirect_uri"`