feature: verify tokens

This commit is contained in:
2024-11-17 22:28:29 +05:30
parent 26a00c9f7c
commit 9d40c9d7ec
57 changed files with 4188 additions and 276 deletions

View File

@@ -11,14 +11,19 @@ import (
"gitserver.in/patialtech/rano/graph/model"
)
// Login is the resolver for the login field.
func (r *mutationResolver) Login(ctx context.Context, email string, pwd string) (*model.AuthUser, error) {
panic(fmt.Errorf("not implemented: Login - login"))
// AccountVerifyEmail is the resolver for the accountVerifyEmail field.
func (r *mutationResolver) AccountVerifyEmail(ctx context.Context, token *string) (bool, error) {
panic(fmt.Errorf("not implemented: AccountVerifyEmail - accountVerifyEmail"))
}
// Logout is the resolver for the logout field.
func (r *mutationResolver) Logout(ctx context.Context) (bool, error) {
panic(fmt.Errorf("not implemented: Logout - logout"))
// AccountLogin is the resolver for the accountLogin field.
func (r *mutationResolver) AccountLogin(ctx context.Context, email string, pwd string) (*model.AuthUser, error) {
panic(fmt.Errorf("not implemented: AccountLogin - accountLogin"))
}
// AccountLogout is the resolver for the accountLogout field.
func (r *mutationResolver) AccountLogout(ctx context.Context) (bool, error) {
panic(fmt.Errorf("not implemented: AccountLogout - accountLogout"))
}
// Me is the resolver for the me field.