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 Model StsAuthRequest

From Leeroopedia


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

Overview

Concrete data transfer object representing an STS authentication request in the lakeFS Java SDK.

Description

The StsAuthRequest class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to STS authentication request fields through getter/setter methods and supports JSON serialization via Gson.

Usage

Use this model when authenticating via STS (Security Token Service) through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

public class StsAuthRequest {
    // Fields with @SerializedName annotations
    // Getter/setter methods
    // equals, hashCode, toString
    // JSON type adapter
}

Import

import io.lakefs.clients.sdk.model.StsAuthRequest;

I/O Contract

Inputs

Name Type Required Description
code String Yes Authorization code from the identity provider
state String Yes State parameter for CSRF protection
redirect_uri String Yes Redirect URI used in the authorization flow
ttl_seconds Long No Requested token time-to-live in seconds

Outputs

Name Type Description
JSON String Serialized JSON representation of the object

Usage Examples

Creating an Instance

import io.lakefs.clients.sdk.model.StsAuthRequest;

StsAuthRequest obj = new StsAuthRequest();
obj.setCode("auth-code-from-idp");
obj.setState("csrf-state-token");
obj.setRedirectUri("http://localhost:8000/callback");

Related Pages

Page Connections

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