MonoCloud Authentication SDK
    Preparing search index...
    • <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.

      Parameters

      • props: SignOutProps & AnchorHTMLAttributes<HTMLAnchorElement>

        Properties for the SignOut component.

      Returns ReactNode

      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>;
      }
      import { SignOut } from "@monocloud/auth-nextjs/components";

      export default function Home() {
      return <SignOut federated postLogoutUrl="/goodbye">Sign Out</SignOut>;
      }