Class PlatformDetectionUtil
- java.lang.Object
-
- net.snowflake.client.core.auth.wif.PlatformDetectionUtil
-
@SnowflakeJdbcInternalApi public class PlatformDetectionUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description PlatformDetectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasValidAwsIdentityForWif(AwsAttestationService attestationService, int timeoutMs)static booleanisValidArnForWif(String arn)static StringperformPlatformDetectionRequest(org.apache.http.client.methods.HttpRequestBase httpRequest, int timeoutMs)
-
-
-
Method Detail
-
performPlatformDetectionRequest
public static String performPlatformDetectionRequest(org.apache.http.client.methods.HttpRequestBase httpRequest, int timeoutMs) throws SnowflakeSQLException, IOException
- Throws:
SnowflakeSQLExceptionIOException
-
hasValidAwsIdentityForWif
public static boolean hasValidAwsIdentityForWif(AwsAttestationService attestationService, int timeoutMs)
-
isValidArnForWif
public static boolean isValidArnForWif(String arn)
-
-