3. FID Authentication
3.1 FTSDKAuthDelegate
// MARK: FTSDKAuthDelegate
- (void)didSignInSuccess:(FTSDKSignIn *)signIn didSignInFor:(FTSDKUser *)user withMethod:(NSString *)authType {
// Call when user successful login, and every time user open app again
}
- (void)didSignInFail:(FTSDKSignIn *)signIn with:(FTSDKError *)error {
// Call when user login failed
}
- (void)didSignUpSuccess:(FTSDKSignIn *)signIn didSignInFor:(FTSDKUser *)user withMethod:(NSString *)authType {
// Call when user successful signup
}
- (void)didSignUpFail:(FTSDKSignIn *)signIn with:(FTSDKError *)error {
// Call when user signup failed
}
- (void)onFTSDKIsReady {
// Call when FID is ready, make sure you have wait before use any FID's functions
// Example:
// Verify Pending Transacions
// Setup player info before make purchase
}
- (void)onFTSDKErrorWithError:(FTSDKError *)error {
// Call if FID init error
// You need to block the user to continue using app/game
}
- (void)onFIDMaintenanceWithConfig:(MaintenanceConfigs *)config {
// Call if FID is on maintenance mode
// You need to show an Maintenance dialog
// A refresh button can be reload your app/game
}
- (void)onFIDLinkAccountSuggestionWithMessage:(NSString *)message {
// If user using 3rd login (Apple, Google, Facebook), we need suggess user link their account with phone number
// You need to show an dialog to suggess user link account
// A button Link Account will call [[FTSDKSignIn instance] linkAccount];
// View Link Account feature before implement this
}3.2 Sign In & Sign Up

Change Product Name when login with Google & Facebook
Setup login with Facebook
Setup login with Google
Setup login with Apple
Setup Dynamiclink for KOLs
3.3 Forgot Password
3.4 Link Account
3.5 Sign Out
3.6 Refresh Token
3.7 Get User Information
3.8 Change User Password
3.9 Auto Login
Last updated