Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Implementation:Treeverse LakeFS Java SDK AuthApi

From Leeroopedia


Knowledge Sources
Domains Java_SDK, REST_API
Last Updated 2026-02-08 00:00 GMT

Overview

Concrete tool for authentication and authorization management (users, groups, policies, credentials) provided by the lakeFS Java SDK.

Description

The AuthApi class is an auto-generated Java client for the lakeFS Authentication/Authorization API endpoints. It is generated by OpenAPI Generator from the lakeFS OpenAPI specification and provides type-safe methods for interacting with the lakeFS server.

Usage

Import this class when programmatically interacting with lakeFS authentication and authorization operations from a Java application.

Code Reference

Source Location

Signature

public class AuthApi {
    private ApiClient localVarApiClient;

    public AuthApi() { ... }
    public AuthApi(ApiClient apiClient) { ... }
    // API methods...
}

Import

import io.lakefs.clients.sdk.AuthApi;

I/O Contract

Inputs

Name Type Required Description
apiClient ApiClient No Custom API client configuration (uses default if omitted)

Outputs

Name Type Description
API responses Model objects Type-safe response objects from lakeFS server

Usage Examples

Basic Usage

import io.lakefs.clients.sdk.AuthApi;
import io.lakefs.clients.sdk.ApiClient;
import io.lakefs.clients.sdk.Configuration;

// Use default client
ApiClient client = Configuration.getDefaultApiClient();
client.setBasePath("http://localhost:8000/api/v1");
AuthApi api = new AuthApi(client);

// Call API methods...

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment