<& /Admin/Elements/Header, Title => loc("[_1]'s authentication tokens",$UserObj->Name) &> <& /Elements/Tabs &> <& /Elements/ListActions, actions => \@results &>

<&|/l&>Authentication tokens allow other applications to use your user account without having to share your password, while allowing you to revoke access on an application-specific basis. Changing your password does not invalidate your auth tokens; you must revoke them here.

<& /Elements/AuthToken/CreateButton, %ARGS, Owner => $UserObj->Id &> <& /Elements/AuthToken/List, %ARGS, Owner => $UserObj->Id &>
<%ARGS> $id => undef <%INIT> my @results; my $UserObj = RT::User->new( $session{'CurrentUser'} ); $UserObj->Load( $id ); unless ( $UserObj->id ) { Abort( loc("Couldn't load user #[_1]", $id) ); } $id = $ARGS{'id'} = $UserObj->id;