|
|
|
CHARACTER GenerateAuthToken (character, character, character)
|
Generate an authentication token (SMARTFRAMEWORKMCP_AUTH_KEY) for the given credentials
Notes :
@param pcUserName The user name
@param pcDomainName The domain or tenant name
@param pcPassword The user's password
@return The generated SMARTFRAMEWORKMCP_AUTH_KEY token
*/
|
|
|
|
Consultingwerk.Framework.UserCredentials GetUserCredentials (character)
|
Resolve user credentials from an authentication token (SMARTFRAMEWORKMCP_AUTH_KEY)
Notes : Raises a MissingAuthKeyException when no auth key was provided at
all and an InvalidAuthKeyException when the provided auth key
cannot be decoded, decrypted or parsed. Without those, the caller
would receive the raw ABL runtime error of the BASE64-DECODE or
DECRYPT function instead of an actionable message.
@param pcAuthKey The authentication token (SMARTFRAMEWORKMCP_AUTH_KEY)
@return A UserCredentials instance representing the resolved user
*/
|