All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.snowflake.client.core.auth.ClientAuthnDTO Maven / Gradle / Ivy

There is a newer version: 3.20.0
Show newest version
/*
 * Copyright (c) 2024 Snowflake Computing Inc. All right reserved.
 */
package net.snowflake.client.core.auth;

import java.util.Map;
import javax.annotation.Nullable;
import net.snowflake.client.core.SnowflakeJdbcInternalApi;

@SnowflakeJdbcInternalApi
public class ClientAuthnDTO {

  // contains all the required data for current authn step
  private final Map data;

  /*
   * current state
   * tokenized string with all current parameters and the authn step
   */
  private final String inFlightCtx;

  public ClientAuthnDTO(Map data, @Nullable String inFlightCtx) {
    this.data = data;
    this.inFlightCtx = inFlightCtx;
  }

  /** Required by Jackson */
  public Map getData() {
    return data;
  }

  /** Required by Jackson */
  public String getInFlightCtx() {
    return inFlightCtx;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy