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

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

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

/**
 * HiLink Helper configuration.
 */
public data class ConfigurationInfo(
    /**
     * The property refers to an app you have chosen to identify yourself
     * for the Huawei's OAuth service. The app can be any application on
     * Huawei Developer console, that you control. It doesn't have to be your
     * IOT app, this app is only used as a partner ID.
     */
    val partnerAppId: String,
    /**
     * An app secret obtained from Huawei developer console, pertaining to the
     * same application as the [partnerAppId] property.
     */
    val partnerAppSecret: String,
    /**
     * The address of the Huawei's OAuth 2.0 service to use. Leading to its /token endpoint.
     * eg. https://oauth-login.cloud.huawei.com/oauth2/v2/token
     */
    val huaweiOAuthUrl: String,
    /**
     * The address of the HiLink cloud endpoint for events sending.
     * This address will be distinct for development (certification cloud) and production
     * (production cloud)
     */
    val hiLinkNotificationsUrl: String
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy