NAME
Kernel::GenericInterface::Operation::AccessToken::Base – Base class for AccessToken Operations
PUBLIC INTERFACE
CreateAccessToken()
Performs user authentication and return a new access token.
my $AccessToken = $CommonObject->CreateAccessToken(
Data {
UserLogin => 'Agent1',
CustomerUserLogin => 'Customer1', # optional, provide UserLogin or
# CustomerUserLogin
Password => 'some password', # plain text password
}
);
Returns undef on failure or
$AccessToken = Kernel::System::AccessToken::Token->new(...) # the new access-token object.