+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


C# custom resource-request implementation sample

This sample demonstrates how to get data from a protected resource by using a HttpWebRequest object and the MobileFirst WLAuthorizationManager API for Windows 8 Universal app.

After a response was first received, the WLAuthorizationManager class determines whether this response is a MobileFirst protocol response. If so, the user gets the scope, obtains the authorization header for this scope, and requests the protected resource one more time.

For more information about WLAuthorizationManager, see C# client-side API for Windows 10 Universal Windows Platform and Windows 8 Universal apps.

Parent topic: Sample custom resource-request implementations using WLAuthorizationManager