 | UserManagementServicerenewToken Method |
Renews an authentication token.
Namespace:
(Default Namespace)
Assembly:
SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic bool renewToken(
string authKey
)
Public Function renewToken (
authKey As String
) As Boolean
public:
bool renewToken(
String^ authKey
)
public function renewToken(
authKey : String
) : boolean
function renewToken(authKey);
Parameters
- authKey
- Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService
Return Value
Type:
BooleanTrue if the token is succesfully renewed,
False otherwise.
RemarksAuthentications tokens are set to expire after a predefined amount of time (the default is 5 minutes).
However, by calling the renewToken method, you can extend the token's availability even if it has expired.
The tokens are available for renewal for a predefined amount of time (by default 2 hours).
Authentication key timeouts are reset with any method call using the key.
This is the only web service method that will accept an expired token.
See Also