Skip to content

Instantly share code, notes, and snippets.

@orcchg
Created October 21, 2023 08:56
Show Gist options
  • Save orcchg/4d8a343bdafd6e5761ad255498cefaff to your computer and use it in GitHub Desktop.
Save orcchg/4d8a343bdafd6e5761ad255498cefaff to your computer and use it in GitHub Desktop.
Obtaining access token is normally an asynchronous operation
suspend fun obtainAccessToken(): String {
// do the real job to obtain access token
return "access token"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment