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

Add support for authorizers #11

Open
wulfmann opened this issue Jun 5, 2020 · 0 comments
Open

Add support for authorizers #11

wulfmann opened this issue Jun 5, 2020 · 0 comments
Labels
authorizer Relates to authorizers enhancement New feature or request
Projects

Comments

@wulfmann
Copy link
Owner

wulfmann commented Jun 5, 2020

Unsure how we would implement this.

One idea is making authorizer a protected filename. Any file somedir/authorizer.ts would be mapped to an authorizer being created on the somedir resource.

Another option is to export an authorizer function from a handler.

@wulfmann wulfmann added this to To do in v1 Jun 5, 2020
@wulfmann wulfmann added authorizer Relates to authorizers enhancement New feature or request labels Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authorizer Relates to authorizers enhancement New feature or request
Projects
v1
  
To do
Development

No branches or pull requests

1 participant