getUserInfoWithConsent

@GET(value = "/{productType}/oauth2/{apiVersion}/userinfo")
abstract suspend fun getUserInfoWithConsent(@Path(value = "productType") productType: String, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<UserInfoWithConsent>

Makes a request to get the ApiUser Info with Consent.

Return

A Response containing the UserInfoWithConsent.

Parameters

productType
apiVersion

The app Version (e.g., v1_0 or v2_0).

productSubscriptionKey

The Product subscription Key (Ocp-Apim-Subscription-Key).