public final class AuthUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isOpBearerAuth(IntermediateModel model,
OperationModel opModel)
Returns
true if the operation should use bearer auth. |
static boolean |
usesAwsAuth(IntermediateModel model) |
static boolean |
usesBearerAuth(IntermediateModel model)
Returns
true if the service as a whole or any of its operations uses bearer auth type. |
public static boolean usesBearerAuth(IntermediateModel model)
true
if the service as a whole or any of its operations uses bearer
auth type.public static boolean usesAwsAuth(IntermediateModel model)
public static boolean isOpBearerAuth(IntermediateModel model, OperationModel opModel)
true
if the operation should use bearer auth.Copyright © 2023. All rights reserved.