Created
December 2, 2021 23:34
-
-
Save PaulTR/513e460a47664c8e4c89f468b8f5adf1 to your computer and use it in GitHub Desktop.
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
fun signOutWithoutRedirect() { | |
val client = OkHttpClient() | |
val request = Request.Builder() | |
.url(Constants.URL_LOGOUT + authState.idToken) | |
.build() | |
try { | |
client.newCall(request).execute() | |
} catch (e: IOException) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment