![]() |
Zentitle SDK and Library
|
If an Account Based License (ABL) is in force, and the library is exited without returning the license, the local license status becomes -70 (ABL cached credentials need validation). After restarting the library, an attempt to refresh the license or return the license will generate an -1152 error ("Cached credentials need auth").
To recover from this error, one can either
In a pinch, the local license file can be deleted. This is not recommended as, depending on circumstances, an activation or unconsumed consumption tokens may be lost.
One can avoid this situation entirely by returning the license before shutting down the library. Also, even if the license is in a -70 state it can still be returned to the Nalpeiron server (NSLReturnLicense() or similar). In this case, if the license is returned with a -70 status, the server will still return a "seat" to the available checkout pool along with any outstanding features and elements. A forced return of this type may be used even if the end user forgets their credentials.