NAME
Kernel::GenericInterface::Operation::AccessToken::Create – GenericInterface AccessToken Create Operation backend
PUBLIC INTERFACE
Run()
my $Result = $OperationObject->Run(
Data => {
UserLogin => 'Agent1',
CustomerUserLogin => 'Customer1', # optional, provide UserLogin or CustomerUserLogin
Password => 'some password', # plain text password
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # In case of an error
Data => {
AccessToken => $AccessToken,
},
};