Authenticated request? #6
-
is there any way we can add @authenticated and json tokens to the UI? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey @vonec! |
Beta Was this translation helpful? Give feedback.
-
Hey @vonec To describe your API authentication, you can extend you OpenAPI document and add the security scheme to it. Scramble::extendOpenApi(function (OpenApi $openApi) {
$openApi->secure(
SecurityScheme::http('bearer', 'JWT')
);
}); Read more about security here: https://scramble.dedoc.co/usage/security |
Beta Was this translation helpful? Give feedback.
Hey @vonec
To describe your API authentication, you can extend you OpenAPI document and add the security scheme to it.
Read more about security here: https://scramble.dedoc.co/usage/security