Skip to main content

get_api_key_for_tenant

Function get_api_key_for_tenant 

Source
pub async fn get_api_key_for_tenant(
    pool: &PgPool,
    id: Uuid,
    tenant_id: Uuid,
) -> ProxyResult<Option<ApiKey>>
Expand description

Fetch an API key scoped to a tenant.