createPNConfiguration

actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, logLevel: LogLevel, authToken: String?): PNConfiguration


actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, authKey: String?, logVerbosity: PNLogVerbosity): PNConfiguration

Deprecated

The authKey parameter is deprecated because it relates to deprecated Access Manager (PAM V2) and will be removed in the future.Please, use createPNConfiguration without authKey instead and migrate to new Access Manager (PAM V3) https://www.pubnub.com/docs/general/resources/migration-guides/pam-v3-migration

Replace with

createPNConfiguration(userId, subscribeKey, publishKey, secretKey, logVerbosity)
expect fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String? = null, logLevel: LogLevel = LogLevel.NONE, authToken: String? = null): PNConfiguration


expect fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String? = null, authKey: String? = null, logVerbosity: PNLogVerbosity = PNLogVerbosity.NONE): PNConfiguration

Deprecated

The authKey parameter is deprecated because it relates to deprecated Access Manager (PAM V2) and will be removed in the future.Please, use createPNConfiguration without authKey instead and migrate to new Access Manager (PAM V3) https://www.pubnub.com/docs/general/resources/migration-guides/pam-v3-migration

Replace with

createPNConfiguration(userId, subscribeKey, publishKey, secretKey, logLevel, authToken)
actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, logLevel: LogLevel, authToken: String?): PNConfiguration


actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, authKey: String?, logVerbosity: PNLogVerbosity): PNConfiguration

Deprecated

The authKey parameter is deprecated because it relates to deprecated Access Manager (PAM V2) and will be removed in the future.Please, use createPNConfiguration without authKey instead and migrate to new Access Manager (PAM V3) https://www.pubnub.com/docs/general/resources/migration-guides/pam-v3-migration

Replace with

createPNConfiguration(userId, subscribeKey, publishKey, secretKey, logLevel, authToken)
actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, logLevel: LogLevel, authToken: String?): PNConfiguration


actual fun createPNConfiguration(userId: UserId, subscribeKey: String, publishKey: String, secretKey: String?, authKey: String?, logVerbosity: PNLogVerbosity): PNConfiguration

Deprecated

The authKey parameter is deprecated because it relates to deprecated Access Manager (PAM V2) and will be removed in the future.Please, use createPNConfiguration without authKey instead and migrate to new Access Manager (PAM V3) https://www.pubnub.com/docs/general/resources/migration-guides/pam-v3-migration

Replace with

createPNConfiguration(userId, subscribeKey, publishKey, secretKey, logLevel, authToken)