from django.contrib import admin

from .models import AuthData


@admin.register(AuthData)
class AuthDataAdmin(admin.ModelAdmin):
    list_display = ["user", "name", "created_on", "last_used_on"]
    search_fields = ["name", "credential_id"]
    raw_id_fields = ["user"]
