Skip to content

Commit

Permalink
Remove DefaultSiopOpenId4Vp
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarras committed Nov 24, 2023
1 parent fa597e8 commit e4dc980
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 42 deletions.
15 changes: 7 additions & 8 deletions src/main/kotlin/eu/europa/ec/eudi/openid4vp/SiopOpenId4Vp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package eu.europa.ec.eudi.openid4vp

import eu.europa.ec.eudi.openid4vp.internal.DefaultSiopOpenId4Vp
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers

Expand Down Expand Up @@ -45,8 +44,6 @@ interface SiopOpenId4Vp : AuthorizationRequestResolver, AuthorizationResponseBui
* @param walletOpenId4VPConfig wallet's configuration
* @param httpClientFactory a factory to obtain a Ktor http client
* @return a [SiopOpenId4Vp]
*
* @see DefaultSiopOpenId4Vp
*/
fun make(
walletOpenId4VPConfig: WalletOpenId4VPConfig,
Expand All @@ -62,18 +59,20 @@ interface SiopOpenId4Vp : AuthorizationRequestResolver, AuthorizationResponseBui
/**
* Factory method to create a [SiopOpenId4Vp].
*
* @param authorizationResolver the [AuthorizationRequestResolver] instance to use
* @param authorizationRequestResolver the [AuthorizationRequestResolver] instance to use
* @param dispatcher the [Dispatcher] instance to use
* @param authorizationResponseBuilder the [AuthorizationResponseBuilder] instance to use
* @return a [SiopOpenId4Vp]
*
* @see DefaultSiopOpenId4Vp
*/
fun make(
authorizationResolver: AuthorizationRequestResolver,
authorizationRequestResolver: AuthorizationRequestResolver,
dispatcher: Dispatcher,
authorizationResponseBuilder: AuthorizationResponseBuilder,
): SiopOpenId4Vp =
DefaultSiopOpenId4Vp(authorizationResolver, dispatcher, authorizationResponseBuilder)
object :
SiopOpenId4Vp,
AuthorizationRequestResolver by authorizationRequestResolver,
Dispatcher by dispatcher,
AuthorizationResponseBuilder by authorizationResponseBuilder {}
}
}

This file was deleted.

0 comments on commit e4dc980

Please sign in to comment.