no message
This commit is contained in:
1 parent
360ad75a13
commit
9aa1e8b380
10 files changed
+596
-586
No files matched your search
@@ -78,7 +78,7 @@
|
||||
* @param failure <#failure description#>
|
||||
*/
|
||||
+ (void) socialLoginFromViewController:(UIViewController* _Nullable) viewController
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable responseObject))success
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable user))success
|
||||
failure:(nullable void (^)(NSError * _Nonnull error))failure;
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
|
||||
+ (void) socialUserFromViewController:(UIViewController* _Nullable) viewController
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable responseObject))success
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable user))success
|
||||
failure:(nullable void (^)(NSError * _Nonnull error))failure;
|
||||
|
||||
/**
|
||||
|
||||
@@ -182,7 +182,7 @@ static bool isFirstAccess = YES;
|
||||
}
|
||||
|
||||
- (void) registerWithBlockProgress:(nullable void (^)(NSProgress * _Nonnull uploadProgress)) uploadProgress
|
||||
Success:(nullable void (^)(PNUser * _Nullable responseObject))success
|
||||
Success:(nullable void (^)(PNUser * _Nullable user))success
|
||||
failure:(nullable void (^)(NSError * _Nonnull error))failure {
|
||||
|
||||
[[self class] POSTWithEndpointAction:@"registration/register" parameters:[self JSONFormObject]
|
||||
@@ -204,7 +204,7 @@ static bool isFirstAccess = YES;
|
||||
|
||||
|
||||
+ (void) socialLoginFromViewController:(UIViewController* _Nullable) viewController
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable responseObject))success
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable user))success
|
||||
failure:(nullable void (^)(NSError * _Nonnull error))failure {
|
||||
|
||||
if (!viewController) {
|
||||
@@ -284,7 +284,7 @@ static bool isFirstAccess = YES;
|
||||
}
|
||||
|
||||
+ (void) socialUserFromViewController:(UIViewController* _Nullable) viewController
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable responseObject))success
|
||||
blockSuccess:(nullable void (^)(PNUser * _Nullable user))success
|
||||
failure:(nullable void (^)(NSError * _Nonnull error))failure {
|
||||
|
||||
if (!viewController) {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#import "PNObjectConstants.h"
|
||||
#import "PNObject+Protected.h"
|
||||
#import "objc/runtime.h"
|
||||
#import "PNObject+PNObjectConnection.m"
|
||||
#import "PNObject+PNObjectConnection.h"
|
||||
#import <RZDataBinding/RZDataBinding.h>
|
||||
#import "HTTPStatusCodes.h"
|
||||
|
||||
|
||||
@@ -96,6 +96,22 @@ extern NSString* _Nonnull const Client_Secret;
|
||||
*/
|
||||
+ (instancetype _Nonnull) initSharedInstanceForEnvironments:(NSDictionary * _Nonnull) endpointUrlsForEnvironments withOauth:(BOOL) oauthEnabled;
|
||||
|
||||
/**
|
||||
* <#Description#>
|
||||
*
|
||||
* @param endpointUrlsForEnvironments
|
||||
* For example,
|
||||
* @{ PNObjectConfigDevelopment : @"https://development.it/api/v1",
|
||||
* PNObjectConfigEnvStage : @"ttps://stage.it/api/v1",
|
||||
* PNObjectConfigEnvProduction : @"ttps://production.it/api/v1"
|
||||
* }
|
||||
* @param userSubClass <#userSubClass description#>
|
||||
* @param oauthEnabled <#oauthEnabled description#>
|
||||
*
|
||||
* @return <#return value description#>
|
||||
*/
|
||||
+ (instancetype _Nonnull) initSharedInstanceForEnvironments:(NSDictionary * _Nonnull) endpointUrlsForEnvironments userSubclass:(Class _Nonnull) userSubClass withOauth:(BOOL) oauthEnabled;
|
||||
|
||||
/**
|
||||
* <#Description#>
|
||||
*
|
||||
@@ -246,4 +262,4 @@ extern NSString* _Nonnull const Client_Secret;
|
||||
*/
|
||||
@property (nonatomic) NSInteger minPasswordLenght;
|
||||
|
||||
@end
|
||||
@end
|
||||
Reference in new issue
Block a user