-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option to use signoutRedirect
- Loading branch information
1 parent
ada396a
commit 9ca3ada
Showing
5 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[oidc-react](../README.md) › [AuthProviderSignOutProps](authprovidersignoutprops.md) | ||
|
||
# Interface: AuthProviderSignOutProps | ||
|
||
## Hierarchy | ||
|
||
* **AuthProviderSignOutProps** | ||
|
||
## Index | ||
|
||
### Properties | ||
|
||
* [signoutRedirect](authprovidersignoutprops.md#optional-signoutredirect) | ||
|
||
## Properties | ||
|
||
### `Optional` signoutRedirect | ||
|
||
• **signoutRedirect**? : *boolean | unknown* | ||
|
||
Trigger a redirect of the current window to the end session endpoint | ||
|
||
You can also provide an object. This object will be sent with the | ||
function. | ||
|
||
**`example`** | ||
```javascript | ||
const config = { | ||
signOutRedirect: { | ||
state: 'abrakadabra', | ||
}, | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters