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.

Last modified on April 04, 2019