Skip to content

Instantly share code, notes, and snippets.

@PaulTR
Created December 2, 2021 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulTR/513e460a47664c8e4c89f468b8f5adf1 to your computer and use it in GitHub Desktop.
Save PaulTR/513e460a47664c8e4c89f468b8f5adf1 to your computer and use it in GitHub Desktop.
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