bcAuthorize

fun bcAuthorize(productType: String, apiVersion: String, bcAuthorizeRequest: BcAuthorizeRequest, productSubscriptionKey: String, environment: String): ERROR CLASS: Symbol not found for Flow<io/rekast/sdk/repository/data/NetworkResult<io/rekast/sdk/model/BackChannelAuthorize>>

Initiates a backchannel (CIBA) authorization request.

Return

A Flow emitting a NetworkResult containing the BackChannelAuthorize with the authorization request details.

Parameters

productType

The type of product initiating the authorization (e.g., collection).

apiVersion

The version of the API (e.g., v1_0).

bcAuthorizeRequest

The authorization request parameters.

productSubscriptionKey

The subscription key for the product.

environment

The target environment (e.g., sandbox or production).