Unverified Commit b097d105 authored by Delba de Oliveira's avatar Delba de Oliveira Committed by GitHub

15.1 docs: Add experimental tags to `forbidden` and `unauthorized` APIs (#73513)

**Do not merge until 15.1 is released.** 

Currently these features are tagged as `canary`, but once 15.1 becomes
stable, they'll be `experimental`.

Closes:
https://linear.app/vercel/issue/DOC-3928/update-forbidden-docs-to-add-experimental-tag
parent f8d7facd
...@@ -4,7 +4,7 @@ description: API reference for the forbidden.js special file. ...@@ -4,7 +4,7 @@ description: API reference for the forbidden.js special file.
related: related:
links: links:
- app/api-reference/functions/forbidden - app/api-reference/functions/forbidden
version: canary version: experimental
--- ---
The **forbidden** file is used to render UI when the [`forbidden`](/docs/app/api-reference/functions/forbidden) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `403` status code. The **forbidden** file is used to render UI when the [`forbidden`](/docs/app/api-reference/functions/forbidden) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `403` status code.
......
...@@ -4,7 +4,7 @@ description: API reference for the unauthorized.js special file. ...@@ -4,7 +4,7 @@ description: API reference for the unauthorized.js special file.
related: related:
links: links:
- app/api-reference/functions/unauthorized - app/api-reference/functions/unauthorized
version: canary version: experimental
--- ---
The **unauthorized** file is used to render UI when the [`unauthorized`](/docs/app/api-reference/functions/unauthorized) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `401` status code. The **unauthorized** file is used to render UI when the [`unauthorized`](/docs/app/api-reference/functions/unauthorized) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `401` status code.
......
--- ---
title: forbidden title: forbidden
description: API Reference for the forbidden function. description: API Reference for the forbidden function.
version: canary version: experimental
related: related:
links: links:
- app/api-reference/file-conventions/forbidden - app/api-reference/file-conventions/forbidden
......
--- ---
title: unauthorized title: unauthorized
description: API Reference for the unauthorized function. description: API Reference for the unauthorized function.
version: canary version: experimental
related: related:
links: links:
- app/api-reference/file-conventions/unauthorized - app/api-reference/file-conventions/unauthorized
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment