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 boolean
isOpBearerAuthPreferred(IntermediateModel model, OperationModel opModel)
Returnstrue
if and only if the operation should use bearer auth as the first preferred auth scheme.static boolean
usesAwsAuth(IntermediateModel model)
static boolean
usesBearerAuth(IntermediateModel model)
Returnstrue
if the service as a whole or any of its operations usesbearer
auth type.static boolean
usesSigv4aAuth(IntermediateModel model)
-
-
-
Method Detail
-
usesBearerAuth
public static boolean usesBearerAuth(IntermediateModel model)
Returnstrue
if the service as a whole or any of its operations usesbearer
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)
Returnstrue
if and only if the operation should use bearer auth as the first preferred auth scheme.
-
-