Generating a Token

FlexNet Operations Web services are used in making, processing, and generating token requests.

To generate a token:

1. The SSO application must request a secure token from the FlexNet Operations server. This request is performed with a SOAP message using a FlexnetAuthentication Web service call. Create a FlexNet user for a Web service client, and pass the credentials in the request for authentication so that the FlexnetAuthentication service processes the request and serves the response with a valid, secure token. The request message has the form:

<secureTokenRequest>

   <userId>sjoe</userId>

</secureTokenRequest>

2. After the request is processed by the FlexNet Operations server, the response message is returned with the secure token. The response message has the form:

<secureTokenResponse>
   <token>vZ1VakmEUiNmTsj5-dYE38qQvUW_OcxoLeDhtNmS53v04xPF__2GmfKwUE7D6hPoZcV9W0KlqhjET
   _NjY1QvK0_j_dmNUEVhkxibIQz1A2g__wg</token>
</secureTokenResponse>

The token is valid for 300 seconds after creation.