mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token (#4291)
This commit is contained in:
parent
6e953e58ca
commit
678fb71a7f
@ -1663,4 +1663,13 @@ export class UnviredCordovaSDK extends AwesomeCordovaNativePlugin {
|
|||||||
registerForPushNotification(): Promise<any> {
|
registerForPushNotification(): Promise<any> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Regenerates the JWT token used for communicating with the UMP server.
|
||||||
|
* The updated token will be available via the registered NotificationListener's callback |JWTTokenReceived|
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
refreshJWTToken(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user