Class OAuthAccessTokenProviderFactory
- java.lang.Object
-
- net.snowflake.client.core.auth.oauth.OAuthAccessTokenProviderFactory
-
@SnowflakeJdbcInternalApi public class OAuthAccessTokenProviderFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description OAuthAccessTokenProviderFactory(SessionUtilExternalBrowser.AuthExternalBrowserHandlers browserHandler, long browserAuthorizationTimeoutSeconds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTokenProvidercreateAccessTokenProvider(AuthenticatorType authenticatorType, SFLoginInput loginInput)static booleanisEligible(AuthenticatorType authenticatorType)
-
-
-
Constructor Detail
-
OAuthAccessTokenProviderFactory
public OAuthAccessTokenProviderFactory(SessionUtilExternalBrowser.AuthExternalBrowserHandlers browserHandler, long browserAuthorizationTimeoutSeconds)
-
-
Method Detail
-
createAccessTokenProvider
public AccessTokenProvider createAccessTokenProvider(AuthenticatorType authenticatorType, SFLoginInput loginInput) throws SFException
- Throws:
SFException
-
isEligible
public static boolean isEligible(AuthenticatorType authenticatorType)
-
-