4. User Creation
1. Obtain an Authentication Code
2. Create a Sentiance User
let options = SENTUserCreationOptions(authenticationCode: "authenticationCode")
Sentiance.shared.createUser(options: options) { result, error in
guard let result = result else {
NSLog("User creation failed with reason \(error!.failureReason)")
return
}
NSLog("Created a user with ID: \(result.userInfo.userId)")
}Last updated