Updates to C# client-side API Reference

improve this page | report issue


C Sharp

API updates for native Windows 10 UWP and Windows 8 Universal applications.

  1. API WorklightAccessToken has been introduced.

    2.12 WorklightAccessToken Class

     
            2.12.1 Method Value
            2.12.2 Method AuthorizationRequestHeader
            2.12.3 Method FormEncodedBodyParameter
            2.12.4 Method FailResponse        

    WorklightAccessToken Class


            syntax
            public class WorklightaccessToken

            Description 
            This class exposes methods that helps you to get information about the accesstoken received from the MobileFirst server.

            2.12.1 Method Value

            syntax
            string Value {get;}

            Description 
            Returns the access token value.

            2.12.3 Method AuthorizationRequestHeader

            syntax
            public string AuthorizationRequestHeader { get;}

            Description
            Value used when sending the access token in the authorization request header.

            2.12.3 Method FormEncodedBodyParameter

            syntax 
            public string FormEncodedBodyParameter { get;}

            Description
            Value used when sending the access token in the HTTP request entity-body.

            2.12.4 Method FailResponse

            syntax
            public WorklightResponse FailResponse { get; } 

            Description
            Returns the failure response when the access token cannot be obtained. This value is null if the access token is obtained successfully.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on April 04, 2019