WebAuth::Token::Cred
WebAuth cred tokens
- Provided by: libwebauth-perl (Version: 4.7.0-6build2)
- Source: webauth
- Report a bug
WebAuth cred tokens
my $token = WebAuth::Token::Cred->new;
$token->subject ('user');
$token->type ('krb5');
$token->service ('service/foo@EXAMPLE.COM');
$token->data ($ticket);
$token->creation (time);
$token->expiration (time + 3600);
print $token->encode ($keyring), "\n";
A WebAuth cred token, which holds a credential for some other service, usually a Kerberos service ticket. It is sent back by the WebKDC to a WebAuth Application Server when requested using a proxy token, and the WAS also uses it to store the credentials in cookies.
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::Krb5(3), WebAuth::Token(3)
This module is part of WebAuth. The current version is available from <http://webauth.stanford.edu/>.