0.2.3 • Published 1 year ago

@tasuku/auth-provider v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Tasuku Auth Provider

Installation

  • Run bun install @tasuku/auth-provider

Communication Channels

The easiest way to communicate with the team is via GitHub issues. Please file new issues, feature requests and suggestions, but DO search for similar open/closed pre-existing issues before creating a new issue.

'use client'
import { TasukuAuthProvider } from '@tasuku/auth-provider'
export default function Layout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <TasukuAuthProvider authUrl='http://localhost:5001' >
      {children}
    </TasukuAuthProvider>
  );
}
"use client";
import { useTasukuAuth } from "@tasuku/auth-provider";

export default function Home() {
  const { accessToken, requestToken } = useTasukuAuth()

  console.log(accessToken,requestToken)
  return (<></>);
}

License

Distributed under the MIT license. See LICENSE for details.

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago