Class AuthUtils

java.lang.Object
software.amazon.awssdk.codegen.utils.AuthUtils

public final class AuthUtils extends Object
  • Method Details

    • usesBearerAuth

      public static boolean usesBearerAuth(IntermediateModel model)
      Returns true if the service as a whole or any of its operations uses bearer auth type.
    • usesSigv4aAuth

      public static boolean usesSigv4aAuth(IntermediateModel model)
    • usesAwsAuth

      public static boolean usesAwsAuth(IntermediateModel model)
    • isOpBearerAuthPreferred

      public static boolean isOpBearerAuthPreferred(IntermediateModel model, OperationModel opModel)
      Returns true if and only if the operation should use bearer auth as the first preferred auth scheme.