NAME
WWW::Suffit::Client::V1 - The Suffit API client library for V1 methods
VERSION
Version 1.01
SYNOPSIS
use WWW::Suffit::Client::V1;
DESCRIPTION
This library provides V1 methods for access to Suffit API servers
API METHODS
List of predefined the Suffit API methods
authn
my $status = $client->authn($username, $password);
Performs user authentication on the OWL system
authz
my $status = $client->authz(GET => "https://bob@owl.localhost:8695/stuff");
my $status = $client->authz(GET => "https://owl.localhost:8695/stuff",
{ # Options
verbose => \1,
username => "bob",
address => "127.0.0.1",
headers => { # Headers
Accept => "text/html,text/plain",
Connection => "keep-alive",
Host => "owl.localhost:8695",
},
},
);
Performs user authorization on the OWL system
pubkey
my $status = $client->pubkey();
my $status = $client->pubkey(1); # Set public_key to object
Returns RSA public key of the token owner
DEPENDENCIES
TO DO
See TODO
file
SEE ALSO
Mojo::UserAgent, WWW::Suffit::UserAgent
AUTHOR
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2023 D&D Corporation. All Rights Reserved
LICENSE
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/