Access to secure Web service
To access a secure REST Web service, the client application must have a valid access token.
The access token got from the Identity Provider must be registered with the GWS engine so that each HTTP request to the service can use it, otherwise an authorization error is returned. For more information on secured Web services, see Handling security.
The stub file generated by fglrestful contains all the definitions and the functions that your GWS client application needs to retrieve the access token. There is a sample included in Main program code for access to secure service.