TokenStorage

interface TokenStorage

Inheritors

Functions

Link copied to clipboard

get the saved token with it's type

Link copied to clipboard
abstract 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")