Comments (3)
@SulemanAli303 Hello. Can you be more specific? What do you mean by sometimes public and sometime with Auth.
Do you mean that some endpoints should be public, and some behind Auth?
Or do you mean that the same point should either require an Auth or not, based on certain condition?
from dataui-nestjs-crud.
@zaro
some endpoints should be public, and some behind Auth
from dataui-nestjs-crud.
@SulemanAli303 check if the @CrudAuth decorator is what you need.
https://gid-oss.github.io/dataui-nestjs-crud/controllers/#request-authentication
from dataui-nestjs-crud.
Related Issues (15)
- Docs links are broken HOT 2
- [EVOLUTION] - Store auth information on CrudRequest object HOT 5
- Is this project going to be maintained in the long term? HOT 9
- How to implement ManyToMany? HOT 2
- Warning: Failed to parse source map HOT 1
- Why don't you raise the version of Typeorm? HOT 20
- Feature: add array operators HOT 5
- Soft Delete Support (TypeORM) HOT 2
- QueryFilterFunction receives undefined for search HOT 5
- access to Query Params from custom endpoint HOT 1
- withDeleted not working with relations HOT 2
- Hint: Wrong repo URL on npmjs.com HOT 2
- Wrong repo on npm HOT 3
- Fail to compile on last stable version 5.1.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataui-nestjs-crud.