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 other HTTP schemes as defined by RFC 7235 #179

Open
derevnjuk opened this issue Feb 16, 2023 · 0 comments
Open

Add support for other HTTP schemes as defined by RFC 7235 #179

derevnjuk opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
Priority: low Type: enhancement New feature or request.

Comments

@derevnjuk
Copy link
Member

Add support for other HTTP schemes as defined by RFC 7235 and HTTP Authentication Scheme Registry for the HTTP security schema in OAS3.

Here's an example of the Digest schema:

Authorization: Digest username="Mufasa",
       realm="[email protected]",
       uri="/dir/index.html",
       algorithm=SHA-256,
       nonce="7ypf/xlj9XXwfDPEoM4URrv/xwf94BcCAzFZH4GiTo0v",
       nc=00000001,
       cnonce="f2/wE4q74E6zIJEtWaHKaf5wv/H5QzzpXusqGemxURZJ",
       qop=auth,
       response="753927fa0e85d155564e2e272a28d1802ca10daf449
          6794697cf8db5856cb6c1",
       opaque="FQhe/qaU925kfnzjCev0ciny7QMkPqMAFRtzCUYo5tdS"

It could be represented in the OAS specification as follows:

securitySchemes:
  Basic:
    type: http
    scheme: digest
@derevnjuk derevnjuk added the Type: enhancement New feature or request. label Feb 16, 2023
@derevnjuk derevnjuk self-assigned this Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: low Type: enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant