MToken - Tokens processing system (Security)
Version 1.04
use MToken;
Tokens processing system (Security)
my $client = $mt->client;
Returns the Mojo client (user agent) instance
my %exest = $self->execmd("command", "arg1", "arg2", "argn");
Performs execute system commands and returns hash:
The command line
The status of operation. 1 - no errors; 0 - error
The exitval value
The error message
The data from program
Returns the fingerprint from local config or ask it
Returns the GNUPG path from local config
Returns manifest of current token
Returns name of current token
Returns the OpenSSL path from local config
Returns SERVER_URL from local config
my $lconfig = $mt->lconfig;
Returns local config instance
return $mt->raise("Red message");
Sends message to STDERR and returns 0
my $store = $mt->store;
Returns the Store instance (Database)
See Changes file
Changes
openssl, gnupg
openssl
gnupg
See TODO file
TODO
* none noted
Mojolicious, CTK
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2021 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
LICENSE
To install MToken, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MToken
CPAN shell
perl -MCPAN -e shell install MToken
For more information on module installation, please visit the detailed CPAN module installation guide.