Skip to content

Commit

Permalink
fix CodeAuthFlow api
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinjul committed Apr 22, 2024
1 parent 7f825e4 commit 29c00b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ import kotlin.native.ObjCName
@ObjCName(swiftName = "AbstractCodeAuthFlow", name = "AbstractCodeAuthFlow", exact = true)
abstract class CodeAuthFlow(val client: OpenIdConnectClient) {


/**
* For some reason the default parameter is not available in Platform implementations,
* so this provides an empty parameter method instead.
*/
@Suppress("unused")
@Throws(CancellationException::class, OpenIdConnectException::class)
suspend fun getAccessToken(): AccessTokenResponse = getAccessToken(null)

/**
* Start the authorization flow to request an access token.
*
Expand Down

This file was deleted.

0 comments on commit 29c00b0

Please sign in to comment.