Package com.google.auth.oauth2
Enum ComputeEngineCredentials.BindingEnforcement
java.lang.Object
java.lang.Enum<ComputeEngineCredentials.BindingEnforcement>
com.google.auth.oauth2.ComputeEngineCredentials.BindingEnforcement
- All Implemented Interfaces:
Serializable,Comparable<ComputeEngineCredentials.BindingEnforcement>
- Enclosing class:
- ComputeEngineCredentials
public static enum ComputeEngineCredentials.BindingEnforcement
extends Enum<ComputeEngineCredentials.BindingEnforcement>
Experimental Feature.
ComputeEngineCredentials.BindingEnforcement specifies how binding info in tokens will be enforced.
Behavior of setting ComputeEngineCredentials.GoogleAuthTransport / ComputeEngineCredentials.BindingEnforcement:
MTLS-bound token where binding enforcement depends on IAM policy: MTLS / {}, {} / IAM_POLICY, MTLS / IAM_POLICY
MTLS-bound token where bindings are always enforced: {} / ON, MTLS / ON
DirectPath bound token: ALTS / {}
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
ON
-
IAM_POLICY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getLabel
-