Merge pull request #1128 from vector-im/feature/bma/cleanupOidc

Cleanup OIDC
This commit is contained in:
Benoit Marty 2023-08-28 15:08:36 +02:00 committed by GitHub
commit 5d889afd21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 10 deletions

View file

@ -58,7 +58,8 @@ interface MatrixClient : Closeable {
/**
* Logout the user.
* Returns an optional URL. When the URL is there, it should be presented to the user after logout for RP initiated logout on their account page.
* Returns an optional URL. When the URL is there, it should be presented to the user after logout for
* Relying Party (RP) initiated logout on their account page.
*/
suspend fun logout(): String?
suspend fun loadUserDisplayName(): Result<String>