Skip to content

Commit 922515d

Browse files
igorlukaninovr
authored andcommitted
docs: checkAuthMiddleware update
1 parent 58eca6e commit 922515d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

DEPRECATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ supports HTTP **and** WebSockets as transports, we want our authentication API
188188
to not rely on transport-specific details. We now recommend using
189189
[`checkAuth`][ref-checkauth] as a transport-agnostic method of authentication.
190190
This means the same authentication logic can be reused for both HTTP and
191-
Websockets transports.
191+
WebSockets transports.
192192

193193
If you are using custom authorization, please take a [look at the
194194
documentation][link-custom-auth]

docs/pages/product/auth.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,6 @@ Cube also allows you to provide your own JWT verification logic by setting a
233233
file. This function is expected to verify a JWT and return its claims as the
234234
security context.
235235

236-
<WarningBox>
237-
238-
Previous versions of Cube allowed setting a `checkAuthMiddleware()` parameter,
239-
which is now deprecated. We advise [migrating to a newer version of
240-
Cube][ref-config-migrate-cube].
241-
242-
</WarningBox>
243-
244236
As an example, if you needed to retrieve user information from an LDAP server,
245237
you might do the following:
246238

0 commit comments

Comments
 (0)