New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tucmc-auth

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tucmc-auth - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "tucmc-auth",
"version": "0.0.6",
"version": "0.0.7",
"module": "dist/index.es.js",

@@ -5,0 +5,0 @@ "types": "dist/tucmc-auth.d.ts",

# TUCMC Auth API
### API Setup Guide
#### _app.js or _app.tsx
```javascript
import {AuthProvider} from "tucmc-auth"
function MyApp({Component, pageProps}) {
return (
<div>
<AuthProvider TOKEN="-----TOKEN-----">
<Component {...pageProps} />
</AuthProvider>
</div>
)
}
export default MyApp
```
#### pages/index.js or pages/index.tsx
```javascript
import {useAuth} from 'tucmc-auth'
function Index() {
const {userData, SigninWithTUCMC, signout} = useAuth()
return (
<div>
{userData && <h1>Hi, {userData.firstname}</h1>}
<SigninWithTUCMC/>
</div>
)
}
export default Index
```
made with ♥ by Triam Udom Clubs Management Committee
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc