- expose oauthmode for all methods and fix oauthmode
This commit is contained in:
1 parent
6c8cf96e65
commit
cd55374ea8
23 files changed
+1447
-1393
No files matched your search
@@ -93,11 +93,15 @@
|
||||
}
|
||||
|
||||
- (void) refreshTokenAction {
|
||||
[[PNObjectConfig sharedInstance] refreshTokenForClientCredential];
|
||||
[[PNObjectConfig sharedInstance] refreshTokenForClientCredentialWithBlockSuccess:^(BOOL refreshSuccess) {
|
||||
|
||||
} failure:^(NSError * _Nonnull error) {
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
- (void) cancelTokenAction {
|
||||
[[PNObjectConfig sharedInstance] resetToken];
|
||||
[[PNObjectConfig sharedInstance] resetAllTokens];
|
||||
}
|
||||
|
||||
- (void) apiCallAction {
|
||||
|
||||
Reference in new issue
Block a user