Extensibility of security definitions?
See original GitHub issueI’m dealing with cases where there are a lot of extended or custom authentication systems around. Various Active Directory scenarios are the most egregious example.
In looking how to represent this in our swagger docs, the security scheme object seems pretty hard-wired to basic, api key, and oauth 2. Is there an intended way to add new authentication types to the document, even if the downstream consumers won’t understand it directly? Or should I put:
"type": "basic",
"x-but-actually-it-is": "someCustomAuth"
or something along those lines? Is there a recommendation or pattern I can follow here?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Software Extensibility: Definition, Attributes and Techniques
Extensibility is the ability of the software system to allow and accept the significant extension of its capabilities without major rewriting of ......
Read more >Extensibility - Wikipedia
Extensibility is a measure of the ability to extend a system and the level of effort required to implement the extension. Extensions can...
Read more >Safety/Security and Extensibility/Scalability in Software ...
Security/safety and extensibility/scalability are two pairs of quality attributes that is of great importance in software architecture. This ...
Read more >Extensibility in Business Intelligence Defined - NetSuite
Extensibility is the capacity to build on an existing business logic or data models to answer new and emerging questions. It's a concept...
Read more >What is Extensibility? - Converged by Propel
In software engineering, extensibility is defined as “the quality of being designed to allow the addition of new capabilities or functionality.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any news on it? Latest comment 5 may in this issue, still waiting support for JWT
Take a look at https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#securitySchemeObject.
It supports extensions in general. Also,
basic
has been changed tohttp
and thescheme
was added. If you end up usingbearer
, for example, you can use that to describe JWT tokens.