<SignOut> renders a link that initiates the MonoCloud sign-out flow.
<SignOut>
It can be used in both App Router and Pages Router, and may be rendered from either Server or Client Components.
Properties for the SignOut component.
An anchor element that links to the sign-out endpoint.
import { SignOut } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignOut>Sign Out</SignOut>;} Copy
import { SignOut } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignOut>Sign Out</SignOut>;}
import { SignOut } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignOut federated postLogoutUrl="/goodbye">Sign Out</SignOut>;} Copy
import { SignOut } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignOut federated postLogoutUrl="/goodbye">Sign Out</SignOut>;}
<SignOut>renders a link that initiates the MonoCloud sign-out flow.It can be used in both App Router and Pages Router, and may be rendered from either Server or Client Components.