Class AuthUtils


  • public final class AuthUtils
    extends Object
    • Method Detail

      • usesBearerAuth

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

        public static boolean isOpBearerAuth​(IntermediateModel model,
                                             OperationModel opModel)
        Returns true if the operation should use bearer auth.