This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,16 @@ typedef void(^WordPressComServiceFailureBlock)(NSError *error);
5353 *
5454 * @param token Token provided by Apple.
5555 * @param email Apple email to use for new account.
56- * @param userName The username for the new account. Formed from the Apple ID fullname.
56+ * @param fullName The user's full name for the new account. Formed from the fullname
57+ * property in the Apple ID credential.
5758 * @param clientID wpcom client ID.
5859 * @param clientSecret wpcom secret.
5960 * @param success success block.
6061 * @param failure failure block.
6162 */
6263- (void )createWPComAccountWithApple : (NSString *)token
6364 andEmail : (NSString *)email
64- andUserName : (NSString *)userName
65+ andFullName : (NSString *)fullName
6566 andClientID : (NSString *)clientID
6667 andClientSecret : (NSString *)clientSecret
6768 success : (WordPressComServiceSuccessBlock)success
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ - (void)createWPComAccountWithGoogle:(NSString *)token
8383
8484- (void )createWPComAccountWithApple : (NSString *)token
8585 andEmail : (NSString *)email
86- andUserName : (NSString *)userName
86+ andFullName : (NSString *)fullName
8787 andClientID : (NSString *)clientID
8888 andClientSecret : (NSString *)clientSecret
8989 success : (WordPressComServiceSuccessBlock)success
@@ -96,7 +96,7 @@ - (void)createWPComAccountWithApple:(NSString *)token
9696 @" service" : @" apple" ,
9797 @" signup_flow_name" : @" social" ,
9898 @" user_email" : email,
99- @" user_name" : userName ,
99+ @" user_name" : fullName ,
100100 };
101101
102102 [self createSocialWPComAccountWithParams: params success: success failure: failure];
You can’t perform that action at this time.
0 commit comments