net.snowflake.client.core.auth.ClientAuthnDTO Maven / Gradle / Ivy
/*
* 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