-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb1e0ba
commit 141ab88
Showing
10 changed files
with
154 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ written for Android. You can read more on the [Descope Website](https://descope. | |
Add the following to your `build.gradle` dependencies: | ||
|
||
```groovy | ||
implementation 'com.descope:descope-kotlin:0.12.0' | ||
implementation 'com.descope:descope-kotlin:0.12.1' | ||
``` | ||
|
||
## Quickstart | ||
|
@@ -151,11 +151,13 @@ active session and clear it from the session manager: | |
|
||
```kotlin | ||
Descope.sessionManager.session?.refreshJwt?.run { | ||
Descope.auth.logout(this) | ||
Descope.auth.revokeSessions(RevokeType.CurrentSession, this) | ||
Descope.sessionManager.clearSession() | ||
} | ||
``` | ||
|
||
It is also possible to revoke all sessions by providing the appropriate `RevokeType` parameter. | ||
|
||
You can customize how the `DescopeSessionManager` behaves by using | ||
your own `storage` and `lifecycle` objects. See the documentation | ||
for more details. | ||
|
@@ -531,5 +533,5 @@ If you need help you can email [Descope Support](mailto:[email protected]) | |
|
||
## License | ||
|
||
The Descope SDK for Flutter is licensed for use under the terms and conditions | ||
The Descope SDK for Android is licensed for use under the terms and conditions | ||
of the [MIT license Agreement](https://github.com/descope/descope-android/blob/main/LICENSE). |
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
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
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