How to indicate that Authenticaion header is required #817
Unanswered
JASKevinWhite
asked this question in
Q&A
Replies: 1 comment
-
|
Use header struct tag - https://huma.rocks/features/request-inputs/?h=header+input#parameters |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I indicate that an API call requires an Authentication: header?
I can't seem to find any information on how to do that. I have some calls that don't require a header (like /login, to get the token in the first place) and then lots of others that require a bearer token in an Authentication header (implemented just find with Auth middleware and groups, thank you very much).
They just don't show up in the docs.
Thank you!
Kevin
Beta Was this translation helpful? Give feedback.
All reactions