Skip to content

Commit

Permalink
Merge pull request #2776 from rssh/patch-4
Browse files Browse the repository at this point in the history
fix order of arguments in authroizationCode
  • Loading branch information
adamw authored Mar 8, 2023
2 parents 1b5f9cb + d2fb226 commit 0ec0039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/endpoint/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cookie or a query parameter
base64-encoded username/password combination, use: `basic[UsernamePassword]`.
* `auth.bearer[T]`: reads data from the `Authorization` header, removing the `Bearer ` prefix. To get the token
as a string, use: `bearer[String]`.
* `auth.oauth2.authorizationCode(authorizationUrl, tokenUrl, scopes, refreshUrl): EndpointInput[String]`: creates an
* `auth.oauth2.authorizationCode(authorizationUrl, scopes, tokenUrl, refreshUrl): EndpointInput[String]`: creates an
OAuth2 authorization using authorization code - sign in using an auth service (for documentation, requires defining also
the `oauth2-redirect.html`, see [Generating OpenAPI documentation](..docs/openapi.md))

Expand Down

0 comments on commit 0ec0039

Please sign in to comment.