Join Matt Milner for an in-depth discussion in this video Using the exercise files, part of Xamarin Development: Authentication and Identity.
- [Instructor] This course comes with exercise files to help you follow along and the way I've structured those is that for each chapter of the course, I've set out a start solution for that particular chapter. So, as you move from one chapter to the other, something doesn't quite go right, you'll have a fresh starting point. So, you can see here for the third movie in chapter two, we have the starting solution that you can open up and build. Note that all the packages and the bin and obs directories have been deleted, so you may need to build in order for things to start working properly.
There's also an end folder for each chapter that has the solution as we finish that particular part of the course. You'll notice that some movies don't have a related solution file and that's because those are movies where we're outside of the editor working in the azure portal, or we're talking about concepts using slides. In the solutions themselves when you open them up, the main place you're going to want to go and make changes is the Constant.cs file that you'll find in the shared project for that application.
You can see that I put placeholders here for your client ID where you need to pop in the ID that you generate when you're working with the Google developer console, for example. The other two places you'll want to look are the Info P list for you iOS application down here. You'll want to go and make sure that under the identity you change the bundle identifier to match your company name. Similarly with the AndroidManifest found underneath the properties note, you'll want to change that package name to better represent your organization or your personal identity when you build and package these up.
- Authenticating users of mobile apps
- Working with the Xamarin.Auth library
- Making authenticated web calls
- Storing and retrieving credentials
- Using an identity management service
- Configuring and extracting claims
- Using claims