Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criar middlewares de acesso e validações de campos #11

Open
danieldfc opened this issue Sep 7, 2019 · 1 comment
Open

Criar middlewares de acesso e validações de campos #11

danieldfc opened this issue Sep 7, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request feature

Comments

@danieldfc
Copy link
Owner

Muito importante para saber se o usuário é provedor ou é um cliente, tendo rotas separadas para acessar e validar todos os campos, para não ocorrer nehuma trapaça por qualquer tipo de entidade no frontend.

@danieldfc danieldfc added enhancement New feature or request feature labels Sep 7, 2019
@danieldfc danieldfc self-assigned this Sep 8, 2019
@danieldfc
Copy link
Owner Author

danieldfc commented Jan 13, 2020

A autenticação foi usando a lib jsonwebtoken.

Foi criado uma pasta middlewares dentro da pasta server/src/app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

1 participant