- fix refresh token
This commit is contained in:
1 parent
9266ae3689
commit
45f9930941
9 files changed
+163
-39
No files matched your search
@@ -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) {
|
||||
|
||||
}];
|
||||
|
||||
Reference in new issue
Block a user