Untitled
unknown
kotlin
a year ago
395 B
9
Indexable
@Bean
fun roleProvider(
authTokenConverter: AuthTokenConverter,
idmClient: IdmClient,
libraryConfigs: List<OpsUiLibraryConfig>
): RoleProvider {
val libraryConfig = libraryConfigs.find { it is LibraryConfigFromConfigService }
?: throw IllegalArgumentException("No suitable LibraryConfig found")
return RoleProviderImpl(authTokenConverter, idmClient, libraryConfig)
}
Editor is loading...
Leave a Comment