WebAuth::Token::Error
WebAuth error tokens
- Provided by: libwebauth-perl (Version: 4.7.0-6build2)
- Source: webauth
- Report a bug
WebAuth error tokens
use WebAuth qw(WA_PEC_LOGIN_CANCELLED);
my $token = WebAuth::Token::Error->new;
$token->code (WA_PEC_LOGIN_CANCELLED);
$token->message ('user canceled login');
$token_>creation (time);
print $token->encode ($keyring), "\n";
A WebAuth error token, returned by the WebKDC in response to a request token if some error occurred in processing that request.
As with WebAuth module functions, failures are signaled by throwing WebAuth::Exception rather than by return status.
Russ Allbery <eagle@eyrie.org>
WebAuth(3), WebAuth::Keyring(3), WebAuth::Token(3)
This module is part of WebAuth. The current version is available from <http://webauth.stanford.edu/>.