This iOS library contains the login functions for UOC Campus and the calls to the OpenAPI.
The library also contains 4 examples explaining how to use some of the functions. Those functions are:
- /user Get
- /mail/messages Get
- /calendar/events Post
- /mobileresources Get
Step 1: Download this repository.
Step 2: Open the project file (loginCampusAuthNZ.xcodeproj) with Xcode.
Step 3: Modify the Constants.h file with your secret and client and change the Urls.
Step 4: Change the NextViewController with the first view of your program after login.
(Optional) Step 5: Change the name of the project.
(Optional) Step 6: Remove the NSLogs from the library.
You can find more information in our blog.
You can find the Swift repository here.