Interface IAuthTokenUtil
Interface for implementing an authentication token utility class
Namespace: ImageVault.Client.Authentication
Assembly: ImageVault.Client.dll
Syntax
public interface IAuthTokenUtil
Methods
ClearAuthToken()
Clears the current auth token
Declaration
void ClearAuthToken()
GetAuthToken()
Gets the Authentication token that should be added to the Authorization header
Declaration
string GetAuthToken()
Returns
Type | Description |
---|---|
System.String |
GetAuthToken(Boolean)
Gets the Authentication token that should be added to the Authorization header
Declaration
string GetAuthToken(bool forceRenew)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forceRenew |
Returns
Type | Description |
---|---|
System.String |