Class AuthUtils
- java.lang.Object
-
- software.amazon.awssdk.codegen.utils.AuthUtils
-
public final class AuthUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisOpBearerAuthPreferred(IntermediateModel model, OperationModel opModel)Returnstrueif and only if the operation should use bearer auth as the first preferred auth scheme.static booleanusesAwsAuth(IntermediateModel model)static booleanusesBearerAuth(IntermediateModel model)Returnstrueif the service as a whole or any of its operations usesbearerauth type.static booleanusesSigv4aAuth(IntermediateModel model)
-
-
-
Method Detail
-
usesBearerAuth
public static boolean usesBearerAuth(IntermediateModel model)
Returnstrueif the service as a whole or any of its operations usesbearerauth type.
-
usesSigv4aAuth
public static boolean usesSigv4aAuth(IntermediateModel model)
-
usesAwsAuth
public static boolean usesAwsAuth(IntermediateModel model)
-
isOpBearerAuthPreferred
public static boolean isOpBearerAuthPreferred(IntermediateModel model, OperationModel opModel)
Returnstrueif and only if the operation should use bearer auth as the first preferred auth scheme.
-
-