Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Dec 17, 2022
1 parent 74e19a5 commit 00cdb3d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,16 @@ app
```ts
import { signIn, signOut } from 'fastify-next-auth/client'

async function myFunction() {
// Redirects to sign in page
signIn()
// Redirects to sign in page
signIn()

// Starts OAuth sign-in flow
signIn('google')
// Starts OAuth sign-in flow
signIn('google')

// Starts Email sign-in flow
signIn('email', { email: 'hello@mail.com' })
// Starts Email sign-in flow
signIn('email', { email: 'hello@mail.com' })

signOut()
}
signOut()
```

<b>Decorators</b>
Expand Down

0 comments on commit 00cdb3d

Please sign in to comment.