All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.huawei.hilink.c2c.integration.helper.api.Requests.kt Maven / Gradle / Ivy

package com.huawei.hilink.c2c.integration.helper.api

/**
 * Carries information about access token used to authorize a request and a huaweiId of the
 * user, on whose behalf the request is being made.
 *
 * @param accessToken AT delivered by HiLink cloud, in authorization header for the request under
 * processing. This AT originates from the partner's OAuth service.
 * @param huaweiId huaweiId of the user.
 * @param authorizedUserIdOrNull id of the user (id within partner's system), obtained based on access token.
 * Only present if you implement [CentralAccessTokenCheck], otherwise it's always null.
 */
public class UserInfo(
    public val accessToken: String,
    public val huaweiId: String,
    public val authorizedUserIdOrNull: String?
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy