Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison authored Dec 17, 2021
1 parent 079f37c commit e6862c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ Required unless a custom `tokenChangedHandler` is set, in which case it cannot b

#### onLoginRequestError

_Added in v0.14.0_

`Function` (optional)

A handler called if the login API endpoint returns a non-200 response. If a handler is not defined, this library will throw on any non-200 responses.
Expand All @@ -469,6 +471,8 @@ Not used or allowed if a custom `tokenChangedHandler` is set.

#### onLogoutRequestError

_Added in v0.14.0_

`Function` (optional)

A handler called if the logout API endpoint returns a non-200 response. If a handler is not defined, this library will throw on any non-200 responses.
Expand Down Expand Up @@ -555,6 +559,8 @@ For security, the `maxAge` value must be two weeks or less. Note that `maxAge` i
#### onVerifyTokenError
_Added in v0.14.0_
`Function` (optional)
Error handler that will be called if there's an unexpected error while verifying the user's ID token server-side. It will receive a [Firebase auth error](https://firebase.google.com/docs/reference/node/firebase.auth.Error).
Expand All @@ -563,6 +569,8 @@ This library will **not** throw when it cannot verify an ID token. Instead, it w
#### onTokenRefreshError
_Added in v0.14.0_
`Function` (optional)
Error handler that will be called if there's an unexpected error while refreshing the user's ID token server-side.
Expand Down

1 comment on commit e6862c6

@vercel
Copy link

@vercel vercel bot commented on e6862c6 Dec 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.