${_('Built-in tokens can be used to authenticate with all possible options.')}
${_('Each token can have a role. VCS tokens can be used together with the authtoken auth plugin for git/hg/svn operations.')}
${_('Built-in')} | % for token in c.user.builtin_token_roles: ${token} % endfor | ${_('expires')}: ${_('never')} | ${h.secure_form(url('my_account_auth_tokens'),method='delete')} ${h.hidden('del_auth_token',c.user.api_key)} ${h.hidden('del_auth_token_builtin',1)} ${h.end_form()} | |
${auth_token.description} | ${auth_token.role_humanized} | %if auth_token.expires == -1: ${_('expires')}: ${_('never')} %else: %if auth_token.expired: ${_('expired')}: ${h.age_component(h.time_to_utcdatetime(auth_token.expires))} %else: ${_('expires')}: ${h.age_component(h.time_to_utcdatetime(auth_token.expires))} %endif %endif | ${h.secure_form(url('my_account_auth_tokens'),method='delete')} ${h.hidden('del_auth_token',auth_token.api_key)} ${h.end_form()} | |
${_('No additional auth token specified')} |