Package com.databricks.jdbc.common
Enum AuthFlow
- java.lang.Object
-
- java.lang.Enum<AuthFlow>
-
- com.databricks.jdbc.common.AuthFlow
-
- All Implemented Interfaces:
Serializable,Comparable<AuthFlow>
public enum AuthFlow extends Enum<AuthFlow>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AZURE_MANAGED_IDENTITIESBROWSER_BASED_AUTHENTICATIONCLIENT_CREDENTIALSTOKEN_PASSTHROUGH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthFlowvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthFlow[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOKEN_PASSTHROUGH
public static final AuthFlow TOKEN_PASSTHROUGH
-
CLIENT_CREDENTIALS
public static final AuthFlow CLIENT_CREDENTIALS
-
BROWSER_BASED_AUTHENTICATION
public static final AuthFlow BROWSER_BASED_AUTHENTICATION
-
AZURE_MANAGED_IDENTITIES
public static final AuthFlow AZURE_MANAGED_IDENTITIES
-
-
Method Detail
-
values
public static AuthFlow[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthFlow c : AuthFlow.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthFlow valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-