Просмотр исходного кода

SwaggerUIBundle -> SwaggerUI

bubble
Kyle Shockey 6 лет назад
Родитель
Сommit
675b3ff2f7
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      docs/usage/oauth2.md

+ 1
- 1
docs/usage/oauth2.md Просмотреть файл

@@ -14,7 +14,7 @@ additionalQueryStringParams | Additional query parameters added to `authorizatio
useBasicAuthenticationWithAccessCodeGrant | Only activated for the `accessCode` flow. During the `authorization_code` request to the `tokenUrl`, pass the [Client Password](https://tools.ietf.org/html/rfc6749#section-2.3.1) using the HTTP Basic Authentication scheme (`Authorization` header with `Basic base64encoded[client_id:client_secret]`). The default is `false`

```javascript
const ui = SwaggerUIBundle({...})
const ui = SwaggerUI({...})

// Method can be called in any place after calling constructor SwaggerUIBundle
ui.initOAuth({


Загрузка…
Отмена
Сохранить