- fix refresh token

This commit is contained in:
giuseppenuc committed 2018-03-27 03:05:24 +02:00
1 parent 9266ae3689
commit 45f9930941
9 files changed
+163 -39

No files matched your search

+6
View File
@@ -95,6 +95,12 @@
- (void) refreshTokenAction {
[[PNObjectConfig sharedInstance] refreshTokenForClientCredentialWithBlockSuccess:^(BOOL refreshSuccess) {
[PNUser loginCurrentUserWithUsername:@"test" password:@"test" withBlockSuccess:^(PNUser * _Nullable responseObject) {
NSLog(@"success");
} failure:^(NSError * _Nonnull error) {
NSLog(@"%@",error);
}];
} failure:^(NSError * _Nonnull error) {
}];