Commit 7a2d123c authored by Leigh B Stoller's avatar Leigh B Stoller

Add expires() to abac credential object.

parent a57e6737
......@@ -1201,6 +1201,7 @@ AUTOLOAD {
sub field($$) { return ($_[0]->{$_[1]}); }
sub asString($) { return field($_[0], "string"); }
sub type($) { return field($_[0], "type"); }
sub expires($) { return field($_[0], "valid_until"); }
sub owner_cert($) { return field($_[0], "owner_cert"); }
sub target_cert($) { return field($_[0], "target_cert"); }
sub owner_urn($) { return field($_[0], "owner_cert")->urn(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment