import {Button} from 'sentry/components/button'; import EmptyMessage from 'sentry/components/emptyMessage'; import ExternalLink from 'sentry/components/links/externalLink'; import {Panel, PanelBody, PanelHeader} from 'sentry/components/panels'; import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle'; import {t, tct} from 'sentry/locale'; import {Organization} from 'sentry/types'; import withOrganization from 'sentry/utils/withOrganization'; import SettingsPageHeader from 'sentry/views/settings/components/settingsPageHeader'; import TextBlock from 'sentry/views/settings/components/text/textBlock'; export function OrganizationAuthTokensIndex({ organization, }: { organization: Organization; }) { const isEmpty = true; const tokenList = []; const createNewToken = ( ); return (
{t( "Authentication tokens allow you to perform actions against the Sentry API on behalf of your organization. They're the easiest way to get started using the API." )} {tct( 'For more information on how to use the web API, see our [link:documentation].', { link: , } )} {t('Auth Token')} {isEmpty && ( {t("You haven't created any authentication tokens yet.")} )} {tokenList?.map(token => (
{token}
))}
); } export default withOrganization(OrganizationAuthTokensIndex);