TokenStorageImpl

internal class TokenStorageImpl(kaliumPreferences: KaliumPreferences) : TokenStorage

Constructors

Link copied to clipboard
internal constructor(kaliumPreferences: KaliumPreferences)

Functions

Link copied to clipboard
open override fun getToken(): NotificationTokenEntity?

get the saved token with it's type

Link copied to clipboard
open override fun saveToken(token: String, transport: String, applicationId: String)

to save the token that generated from the service so it can be used to register this token in the server later ex: firebase token the transport here is the type of the token ("GCM,APNS")